mirror of
https://gitlab.com/ddorn/tfjm-discord-bot.git
synced 2025-02-21 18:21:21 +00:00
Compare commits
No commits in common. "45d760135b3aecb46a420ebe41597036fc6ea31a" and "4fe31e3f7b53adfa183bc09549693155f0e84704" have entirely different histories.
45d760135b
...
4fe31e3f7b
@ -1,7 +1,5 @@
|
||||
#!/bin/python
|
||||
|
||||
from discord import Intents
|
||||
|
||||
from src.constants import *
|
||||
from src.core import CustomBot
|
||||
|
||||
@ -9,6 +7,7 @@ from src.core import CustomBot
|
||||
# It must be in first otherwise "!" always match first and the space is not recognised
|
||||
from src.utils import fg
|
||||
|
||||
|
||||
# Global variable to hold the tirages.
|
||||
# We *want* it to be global so we can reload the tirages cog without
|
||||
# removing all the running tirages
|
||||
@ -16,7 +15,7 @@ tirages = {}
|
||||
|
||||
|
||||
def start():
|
||||
bot = CustomBot(("! ", "!"), case_insensitive=True, owner_id=DIEGO, intents=Intents.all())
|
||||
bot = CustomBot(("! ", "!"), case_insensitive=True, owner_id=DIEGO)
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
|
Loading…
x
Reference in New Issue
Block a user