add command last

This commit is contained in:
BFlow 2020-05-05 17:04:44 +02:00
parent 0352ea290e
commit 053a725c4c

View file

@ -117,7 +117,7 @@ class Mybot(commands.Cog):
async def last(self, ctx, number = 1): async def last(self, ctx, number = 1):
number = int(number) number = int(number)
for sound in self.sounds_history[0:number]: for sound in self.sounds_history[0:number]:
await ctx.channel.send(sound[0]) await ctx.channel.send(```sound[0]```)
@commands.command(help='count lines numbers in quote file') @commands.command(help='count lines numbers in quote file')
async def lines(self, ctx): async def lines(self, ctx):