now need to explicitly enable members intent

This commit is contained in:
xenofem 2020-09-29 14:55:27 -04:00
parent 1cb7712884
commit e8e9baebd8

View file

@ -109,7 +109,9 @@ async def countdown(channel):
with open('config.json') as f: with open('config.json') as f:
config = json.load(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): async def handle_guild_message(message):
if not message.content.startswith('!waggle'): if not message.content.startswith('!waggle'):