diff --git a/gameutils.py b/gameutils.py index b94dbdb..c70bb62 100644 --- a/gameutils.py +++ b/gameutils.py @@ -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 diff --git a/rolebuttons.py b/rolebuttons.py index c74aa9b..3677f36 100644 --- a/rolebuttons.py +++ b/rolebuttons.py @@ -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): diff --git a/speechbubble.py b/speechbubble.py index 6f33078..360c6ca 100644 --- a/speechbubble.py +++ b/speechbubble.py @@ -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):