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:
|
||||
msg = "```Custom commands:\n"
|
||||
for cmd in sorted([cmd for cmd in cmdlist.keys()]):
|
||||
msg += " {}\n".format(cmd)
|
||||
msg += " {}{}\n".format(ctx.prefix, cmd)
|
||||
fmsg = msg + "```"
|
||||
await self.bot.whisper(fmsg)
|
||||
else:
|
||||
@ -146,4 +146,4 @@ def setup(bot):
|
||||
check_files()
|
||||
n = CustomCommands(bot)
|
||||
bot.add_listener(n.checkCC, "on_message")
|
||||
bot.add_cog(n)
|
||||
bot.add_cog(n)
|
||||
Loading…
x
Reference in New Issue
Block a user