Skip to content

Commit

Permalink
edit view for loading edits
Browse files Browse the repository at this point in the history
  • Loading branch information
ccev committed Jan 14, 2022
1 parent 0bc4339 commit b2bef51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taubsi/cogs/dmap/mapmenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def embeds(self) -> List[discord.Embed]:

async def edit_loading(self, interaction: discord.Interaction):
self.embed.set_footer(text=bot.translate("loading"), icon_url=bot.config.LOADING_GIF)
await interaction.response.edit_message(embeds=self.embeds)
await interaction.response.edit_message(embeds=self.embeds, view=self)

async def start_load(self, interaction: discord.Interaction):
bot.loop.create_task(self.edit_loading(interaction))
Expand Down

0 comments on commit b2bef51

Please sign in to comment.