From 3aff0c50e82eaa3a5a2d3476686fff855907a187 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Fri, 15 Jul 2016 16:52:12 -0500 Subject: [PATCH] Adding test command to check automatic type hinting --- cogs/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/core.py b/cogs/core.py index b776802..3b3a8d8 100644 --- a/cogs/core.py +++ b/cogs/core.py @@ -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))