mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 12:18:54 -05:00
Added prefix to PR
This commit is contained in:
parent
96a3b95d67
commit
77d3056da2
@ -97,7 +97,7 @@ class CustomCommands:
|
|||||||
if cmdlist:
|
if cmdlist:
|
||||||
msg = "```Custom commands:\n"
|
msg = "```Custom commands:\n"
|
||||||
for cmd in sorted([cmd for cmd in cmdlist.keys()]):
|
for cmd in sorted([cmd for cmd in cmdlist.keys()]):
|
||||||
msg += " {}\n".format(cmd)
|
msg += " {}{}\n".format(ctx.prefix, cmd)
|
||||||
fmsg = msg + "```"
|
fmsg = msg + "```"
|
||||||
await self.bot.whisper(fmsg)
|
await self.bot.whisper(fmsg)
|
||||||
else:
|
else:
|
||||||
@ -146,4 +146,4 @@ def setup(bot):
|
|||||||
check_files()
|
check_files()
|
||||||
n = CustomCommands(bot)
|
n = CustomCommands(bot)
|
||||||
bot.add_listener(n.checkCC, "on_message")
|
bot.add_listener(n.checkCC, "on_message")
|
||||||
bot.add_cog(n)
|
bot.add_cog(n)
|
||||||
Loading…
x
Reference in New Issue
Block a user