1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Administrator-py/administrator/__init__.py

14 lines
344 B
Python
Raw Permalink Normal View History

2020-11-01 19:10:58 +01:00
from discord import Intents
2021-01-06 17:02:15 +01:00
from discord_slash import SlashCommand
2020-11-01 19:10:58 +01:00
from administrator.config import config
2020-05-27 23:08:23 +02:00
import db
2020-04-08 17:11:23 +02:00
from discord.ext import commands
2020-11-01 19:10:58 +01:00
bot = commands.Bot(command_prefix=config.get("prefix"), intents=Intents.all())
2021-01-06 17:53:30 +01:00
slash = SlashCommand(bot, auto_register=True, auto_delete=True)
2020-04-08 17:11:23 +02:00
import extensions
bot.run(config.get("token"))