precision mock command for slash
This commit is contained in:
parent
c9b759e7b8
commit
d6f3b6462c
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class Fun(commands.Cog):
|
||||||
|
|
||||||
@commands.command(name='mock')
|
@commands.command(name='mock')
|
||||||
async def _mock(self, ctx):
|
async def _mock(self, ctx):
|
||||||
"""Se moque du message précédent"""
|
"""Se moque du message précédent. - Slash command not available"""
|
||||||
first = 0
|
first = 0
|
||||||
suite_auteur = None
|
suite_auteur = None
|
||||||
temps_limite = (await ctx.message.channel.history(limit = 2).flatten())[1].created_at - timedelta(minutes = 5)
|
temps_limite = (await ctx.message.channel.history(limit = 2).flatten())[1].created_at - timedelta(minutes = 5)
|
||||||
|
|
Reference in a new issue