Skip to content

Commit

Permalink
Remove offending vote code (temp)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericthelemur authored Aug 19, 2023
1 parent e6f2e21 commit d6ae67b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cogs/commands/vote.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ async def on_ready(self):
channel = self.bot.get_channel(dvm.channel_id)
msg = await channel.fetch_message(dvm.message_id)
if msg is None or msg.created_at < threshold_time:
"""
print("Ending", msg)
await msg.edit(view=None)
await DiscordBase(self.bot).end_vote(dvm.discord_vote.vote)
"""
else:
await msg.edit(
view=DiscordBase(self.bot).recreate_view(dvm.vote_id, msg, dvm)
Expand Down

0 comments on commit d6ae67b

Please sign in to comment.