We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb7bd03 commit 542d94fCopy full SHA for 542d94f
addons/vote.py
@@ -72,6 +72,8 @@ async def vote_callback(self, ctx: dico_interaction.InteractionContext):
72
(f"{team_role.id},", name),
73
)
74
elif ctx.data.custom_id.endswith(Config.MAKETHON_NAME):
75
+ if 922108075471687720 not in ctx.member.roles:
76
+ return await ctx.send("❌ 아이디어톤만 참여하신 경우 투표하실 수 없습니다.")
77
if make_voted:
78
return await self.cancel_vote(ctx, "메이크톤", team_role, name)
79
# return await ctx.send("❌ 이미 해당 봇의 메이크톤 분야에 투표했습니다.")
0 commit comments