Adding test command to check automatic type hinting
This commit is contained in:
parent
571a4295ec
commit
3aff0c50e8
|
@ -175,7 +175,7 @@ class Core:
|
|||
config.closeConnection()
|
||||
|
||||
@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))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue