1
0
Fork 0
mirror of synced 2024-06-28 03:00:55 +12:00

Adding a test command to test the type hinting feature

This commit is contained in:
Phxntxm 2016-07-16 07:49:01 -05:00
parent 821f7b5681
commit 2a09bdbe77

View file

@ -175,8 +175,8 @@ class Core:
config.closeConnection()
@commands.command()
async def test(self, first: str, second: str):
await self.bot.say("First: {}\n Second: {}".format(first,second))
async def test(self, first: discord.Member, second: str):
await self.bot.say("First: {}\nSecond: {}".format(first,second))
def setup(bot):