Created a test command to test the type hinting
This commit is contained in:
parent
d9931dcf3b
commit
ba4d6e8c72
|
@ -255,8 +255,8 @@ class Core:
|
||||||
await self.bot.say(rand_image)
|
await self.bot.say(rand_image)
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def test(self, *, msg):
|
async def test(self, *msg):
|
||||||
await self.bot.say("```Type: {}\nMessage: {}".format(type(msg),msg))
|
await self.bot.say("```Type: {}\nMessage: {}```".format(type(msg),msg))
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
|
|
Loading…
Reference in a new issue