This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
from typing import Callable, Optional | |
def is_number_text(text): | |
if text in ["", "-"]: | |
return True | |
try: | |
float(text) | |
return True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from discord.ext import commands | |
import discord | |
from . import api | |
from typing import Optional | |
from discord.app import Option | |
slash_categories = { | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Optional | |
import discord | |
from discord.ext import commands | |
from nekosbest import Client as NekosBestClient | |
nekos_best_client = NekosBestClient() | |
class Reaction: | |
def __init__(self, name: str, action: str = None, user_menu: bool = False, no_mention: str = None, mention: str = None): |