Spaces:
Runtime error
Runtime error
Download Botclient/__init__.py from CodeCrew/discord_bot: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/spaces/CodeCrew/discord_bot/resolve/af9fb8d02b2c996fcc33f2e3fbfdb727e6f79934/Botclient/__init__.py
- Command line
-
hf download hf://spaces/CodeCrew/discord_bot@af9fb8d02b2c996fcc33f2e3fbfdb727e6f79934/Botclient/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/CodeCrew/discord_bot/resolve/af9fb8d02b2c996fcc33f2e3fbfdb727e6f79934/Botclient/__init__.py
265 Bytes
| from discord.ext import commands | |
| from .CLient import clients | |
| __all__ = ( | |
| "clients", | |
| "Cog", | |
| # "user", | |
| # "server", | |
| ) | |
| class Cog(commands.Cog): | |
| """Base class for all cogs""" | |
| def __init__(self, bot: clients) -> None: | |
| self.bot = bot | |