This commit is contained in:
insert 2024-08-10 15:57:19 -04:00
parent 31626cd534
commit a8f6b8ebf6
Signed by: insert
GPG key ID: A70775C389ACF105
3 changed files with 11 additions and 1 deletions

View file

@ -40,7 +40,7 @@ class GameView(nextcord.ui.View):
print(interaction.user.guild_permissions)
await interaction.response.edit_message(content=message)
if turnover:
await interaction.followup.send(f"The turn has concluded")
await interaction.followup.send(f"The turn has concluded",view=None)
else:
await interaction.followup.send(f"<{turnping}> it is now your turn!")
return

View file

@ -36,6 +36,11 @@ class rolebutton(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
#errors if first loaded but is needed after
try:
self.bot.add_view(RoleView(self.bot))
except:
pass
@commands.Cog.listener('on_ready')
async def roleready(self):

View file

@ -115,6 +115,11 @@ class speechbubble(commands.Cog):
def __init__(self, bot: commands.Bot):
self.bot = bot
#errors if first loaded but is needed after
try:
self.bot.add_view(ApplicationView(self.bot))
except:
pass
@commands.Cog.listener('on_ready')
async def bubbleready(self):