mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 10:22:31 -05:00
[Owner] [p]contact: Added a 60 seconds cooldown per user
This commit is contained in:
@@ -695,6 +695,7 @@ class Owner:
|
||||
await self.bot.say("Alright then.")
|
||||
|
||||
@commands.command(pass_context=True)
|
||||
@commands.cooldown(1, 60, commands.BucketType.user)
|
||||
async def contact(self, ctx, *, message : str):
|
||||
"""Sends message to the owner"""
|
||||
if self.bot.settings.owner is None:
|
||||
|
||||
Reference in New Issue
Block a user