Update
This commit is contained in:
parent
666203ca7c
commit
4ad76e1439
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class rolebutton(commands.Cog):
|
|||
)
|
||||
async def rolerefresh(self, interaction: nextcord.Interaction, msgid):
|
||||
msgid = int(msgid)
|
||||
msg = await nextcord.abc.Messageable.fetch_message(msgid)
|
||||
msg = await nextcord.abc.Messageable.fetch_message(self.bot, msgid)
|
||||
if msg.author.id != self.bot.application_id:
|
||||
await interaction.response.send_message("I can't edit that message", ephemeral=True)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue