if user can vote, link to top.gg
@@ -98,6 +98,7 @@ class Econ(commands.Cog):
await self.bot.reply_embed(ctx, ctx.l.econ.pp.bot_1)
else:
await self.bot.reply_embed(ctx, ctx.l.econ.pp.bot_2)
+
return
db_user = await self.db.fetch_user(user.id)
@@ -131,7 +132,7 @@ class Econ(commands.Cog):
embed.add_field(name=ctx.l.econ.pp.streak, value=(vote_streak if vote_streak else 0))
embed.add_field(name="\uFEFF", value="\uFEFF")
- embed.add_field(name=ctx.l.econ.pp.can_vote, value=(ctx.l.econ.pp.nope if voted else ctx.l.econ.pp.yep))
+ embed.add_field(name=ctx.l.econ.pp.can_vote, value=(ctx.l.econ.pp.nope if voted else f"[{ctx.l.econ.pp.yep}]({self.d.topgg + '/vote'})"))
embed.add_field(name=ctx.l.econ.pp.pick, value=(await self.db.fetch_pickaxe(user.id)))
embed.add_field(name="\uFEFF", value="\uFEFF")
