Compare commits

...

2 Commits

Author SHA1 Message Date
Diego Dorn 45d760135b fix missing import 2021-01-21 22:11:57 +00:00
Diego Dorn 5bfc32e478 Add member intents 2021-01-21 22:11:00 +00:00
1 changed files with 3 additions and 2 deletions

View File

@ -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():