now need to explicitly enable members intent
This commit is contained in:
		
							parent
							
								
									1cb7712884
								
							
						
					
					
						commit
						e8e9baebd8
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue