(topgg): Exclude vote from reply hook.

This commit is contained in:
2022-01-20 18:48:02 +02:00
parent d33462dd09
commit 31ef615eee

View File

@@ -32,7 +32,7 @@ async def cmd_forcevote(ctx: LionContext):
target = ctx.msg.mentions[0] target = ctx.msg.mentions[0]
await on_dbl_vote({"user": target.id, "type": "test"}) await on_dbl_vote({"user": target.id, "type": "test"})
return await ctx.reply('Topgg vote simulation successful on {}'.format(target)) return await ctx.reply('Topgg vote simulation successful on {}'.format(target), suggest_vote=False)
@module.cmd( @module.cmd(
@@ -59,7 +59,7 @@ async def cmd_vote(ctx: LionContext):
).set_thumbnail( ).set_thumbnail(
url="https://cdn.discordapp.com/attachments/908283085999706153/933012309532614666/lion-love.png" url="https://cdn.discordapp.com/attachments/908283085999706153/933012309532614666/lion-love.png"
) )
return await ctx.reply(embed=embed) return await ctx.reply(embed=embed, suggest_vote=False)
@module.cmd( @module.cmd(