mirror of https://github.com/stijndcl/didier
				
				
				
			disable give in dm's
							parent
							
								
									ea31a3d002
								
							
						
					
					
						commit
						33705ac571
					
				|  | @ -119,6 +119,10 @@ class Dinks(commands.Cog): | |||
|         if amount is None: | ||||
|             return | ||||
| 
 | ||||
|         # Disable DM abuse | ||||
|         if ctx.guild is None: | ||||
|             return await ctx.send("Muttn") | ||||
| 
 | ||||
|         valid = checks.isValidAmount(ctx, amount) | ||||
|         if not valid[0]: | ||||
|             return await ctx.send(valid[1]) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue