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

Adding a test command to test the type hinting feature

This commit is contained in:
Phxntxm 2016-07-16 07:43:04 -05:00
parent cf72e77e75
commit cdab6387cd

View file

@ -173,6 +173,10 @@ class Core:
cursor.execute('delete from tags where server_id=%s and tag=%s', (ctx.message.server.id, tag))
await self.bot.say('I have just removed the tag `{}`'.format(tag))
config.closeConnection()
@commands.commnad()
async def test(self, first: str, second: str):
await self.bot.say("First: {}\n Second: {}".format(first,second))
def setup(bot):