mirror of
https://gitlab.com/ddorn/tfjm-discord-bot.git
synced 2025-02-19 01:01:20 +00:00
Compare commits
2 Commits
4fe31e3f7b
...
45d760135b
Author | SHA1 | Date | |
---|---|---|---|
|
45d760135b | ||
|
5bfc32e478 |
@ -1,5 +1,7 @@
|
||||
#!/bin/python
|
||||
|
||||
from discord import Intents
|
||||
|
||||
from src.constants import *
|
||||
from src.core import CustomBot
|
||||
|
||||
@ -7,7 +9,6 @@ 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
|
||||
@ -15,7 +16,7 @@ tirages = {}
|
||||
|
||||
|
||||
def start():
|
||||
bot = CustomBot(("! ", "!"), case_insensitive=True, owner_id=DIEGO)
|
||||
bot = CustomBot(("! ", "!"), case_insensitive=True, owner_id=DIEGO, intents=Intents.all())
|
||||
|
||||
@bot.event
|
||||
async def on_ready():
|
||||
|
Loading…
x
Reference in New Issue
Block a user