Skip to content

Commit

Permalink
grudgingly did the suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
FirePlank committed Nov 30, 2023
1 parent fc55d57 commit 771d590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/extensions/polls/views.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import typing as t

import discord
from discord import Interaction, ui
from discord import ui

from bot import core
from bot.extensions.polls.utils import emojis
Expand Down Expand Up @@ -119,5 +119,5 @@ async def create_poll(self, interaction: core.InteractionType, _button: ui.Butto
for i in range(0, len(embed.fields)):
await message.add_reaction(emojis[i])

async def on_error(self, interaction: Interaction, _error: Exception, _item: ui.Item[t.Any], /) -> None:
async def on_error(self, interaction: core.InteractionType, _error: Exception, _item: ui.Item[t.Any], /) -> None:
await interaction.client.on_error("poll_view")

0 comments on commit 771d590

Please sign in to comment.