1
0
Fork 0
mirror of synced 2024-06-29 03:30:57 +12:00

Adding a test command to test message matching

This commit is contained in:
Phxntxm 2016-08-13 20:43:35 -05:00
parent 58d87ceba9
commit 6794eefbc2

View file

@ -232,6 +232,12 @@ class Mod:
except IndexError:
await self.bot.say("That is not a valid rule number, try running the command again. "
"Your current rules are:\n```\n{}```".format(list_rules))
@commands.command()
@checks.customPermsOrRole(manage_server=True)
async def test(self, arg1, arg2, *arg3):
fmt = "First argument: {}\nSecond Argument: {}\nThird Argument: {}".format(arg1, arg2, arg3)
await self.bot.say("```\n{}```".format(fmt))
def setup(bot):