fix(forums): fixed an error in the resolved command
This commit is contained in:
parent
25159b6bc9
commit
dea1b2212d
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Forums(commands.Cog):
|
||||||
await msg.edit(view=self.ResolvedButtons(timeout=180, passed_info=passed_info))
|
await msg.edit(view=self.ResolvedButtons(timeout=180, passed_info=passed_info))
|
||||||
else:
|
else:
|
||||||
await ctx.message.add_reaction("❌")
|
await ctx.message.add_reaction("❌")
|
||||||
await ctx.message.delete(5)
|
await ctx.message.delete(delay=5)
|
||||||
|
|
||||||
class ResolvedButtons(ui.View):
|
class ResolvedButtons(ui.View):
|
||||||
def __init__(self, timeout, passed_info: dict):
|
def __init__(self, timeout, passed_info: dict):
|
||||||
|
|
Loading…
Reference in a new issue