1
0
Fork 0
mirror of synced 2024-06-02 18:54:33 +12:00

Adding test command to check automatic type hinting

This commit is contained in:
phxntxm 2016-07-15 16:52:12 -05:00
parent 571a4295ec
commit 3aff0c50e8

View file

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