now need to explicitly enable members intent
This commit is contained in:
parent
1cb7712884
commit
e8e9baebd8
|
@ -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'):
|
||||
|
|
Loading…
Reference in a new issue