now need to explicitly enable members intent

python
xenofem 2020-09-29 14:55:27 -04:00
parent 1cb7712884
commit e8e9baebd8
1 changed files with 3 additions and 1 deletions

View File

@ -109,7 +109,9 @@ async def countdown(channel):
with open('config.json') as f:
config = json.load(f)
client = discord.Client()
intents = discord.Intents.default()
intents.members = True
client = discord.Client(intents=intents)
async def handle_guild_message(message):
if not message.content.startswith('!waggle'):