mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 12:18:54 -05:00
[Owner] Send confirmation on successful [p]contact
This commit is contained in:
parent
f46cc20de7
commit
0efd7fa05c
@ -480,11 +480,13 @@ class Owner:
|
||||
await self.bot.send_message(owner, message)
|
||||
except discord.errors.InvalidArgument:
|
||||
await self.bot.say("I cannot send your message, I'm unable to find"
|
||||
"my owner... *sigh*")
|
||||
" my owner... *sigh*")
|
||||
except discord.errors.HTTPException:
|
||||
await self.bot.say("Your message is too long.")
|
||||
except:
|
||||
await self.bot.say("I'm unable to deliver your message. Sorry.")
|
||||
else:
|
||||
await self.bot.say("Your message has been sent.")
|
||||
|
||||
@commands.command()
|
||||
async def info(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user