Update dad.py
This commit is contained in:
		
							parent
							
								
									720ceb0280
								
							
						
					
					
						commit
						453f46bdc0
					
				@ -105,8 +105,10 @@ class Dad(Cog):
 | 
				
			|||||||
                    out = message.author.mention
 | 
					                    out = message.author.mention
 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                out = lower[4:]
 | 
					                out = lower[4:]
 | 
				
			||||||
 | 
					            try:
 | 
				
			||||||
            await message.channel.send("Hi {}, I'm {}!".format(out, guild.me.display_name))
 | 
					                await message.channel.send("Hi {}, I'm {}!".format(out, guild.me.display_name))
 | 
				
			||||||
 | 
					            except discord.HTTPException:
 | 
				
			||||||
 | 
					                return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            self.cooldown[guild.id] = datetime.now() + timedelta(
 | 
					            self.cooldown[guild.id] = datetime.now() + timedelta(
 | 
				
			||||||
                seconds=(await guild_config.cooldown())
 | 
					                seconds=(await guild_config.cooldown())
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user