mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 04:08:56 -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)
|
await self.bot.send_message(owner, message)
|
||||||
except discord.errors.InvalidArgument:
|
except discord.errors.InvalidArgument:
|
||||||
await self.bot.say("I cannot send your message, I'm unable to find"
|
await self.bot.say("I cannot send your message, I'm unable to find"
|
||||||
"my owner... *sigh*")
|
" my owner... *sigh*")
|
||||||
except discord.errors.HTTPException:
|
except discord.errors.HTTPException:
|
||||||
await self.bot.say("Your message is too long.")
|
await self.bot.say("Your message is too long.")
|
||||||
except:
|
except:
|
||||||
await self.bot.say("I'm unable to deliver your message. Sorry.")
|
await self.bot.say("I'm unable to deliver your message. Sorry.")
|
||||||
|
else:
|
||||||
|
await self.bot.say("Your message has been sent.")
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def info(self):
|
async def info(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user