diff --git a/src/modules/meta/cog.py b/src/modules/meta/cog.py index 0a7932b2..e5cc5f4f 100644 --- a/src/modules/meta/cog.py +++ b/src/modules/meta/cog.py @@ -27,6 +27,7 @@ class MetaCog(LionCog): ) ) async def help_cmd(self, ctx: LionContext): + await ctx.interaction.response.defer(thinking=True, ephemeral=True) ui = HelpUI( ctx.bot, ctx.author, diff --git a/src/modules/meta/help_sections.py b/src/modules/meta/help_sections.py index f20e5edd..55ed6ac9 100644 --- a/src/modules/meta/help_sections.py +++ b/src/modules/meta/help_sections.py @@ -75,12 +75,14 @@ admin_extra = _p( and quickly jump to the feature configuration panels to modify settings. Configuration panels are also accessible directly through the `/configure` commands \ - and most settings can be set with these commands. + and most features may be configured through these commands. Other relevant commands for guild configuration below: `/editshop`: Add/Edit/Remove colour roles from the {coin} shop. `/ranks`: Add/Edit/Remove activity ranks. `/timer admin`: Add/Edit/Remove Pomodoro timers in voice channels. + `/rolemenus`: Allow members to equip roles from customisable messages. + `/economy balance`: Display and modify LionCoin balance for members and roles. """ ) diff --git a/src/modules/rooms/cog.py b/src/modules/rooms/cog.py index f727f7b9..948b342d 100644 --- a/src/modules/rooms/cog.py +++ b/src/modules/rooms/cog.py @@ -261,7 +261,10 @@ class RoomCog(LionCog): self._start(room) # Send tips message - await channel.send("{mention} welcome to your private room! (TBD TIPS HERE)".format(mention=owner.mention)) + # TODO: Actual tips. + await channel.send( + "{mention} welcome to your private room! You may use the menu below to configure it.".format(mention=owner.mention) + ) # Send config UI ui = RoomUI(self.bot, room, callerid=owner.id, timeout=None) diff --git a/src/modules/sysadmin/exec_cog.py b/src/modules/sysadmin/exec_cog.py index 3c7c6df5..7cd965e7 100644 --- a/src/modules/sysadmin/exec_cog.py +++ b/src/modules/sysadmin/exec_cog.py @@ -131,10 +131,7 @@ class ExecUI(View): return modal def get_modal(self): - if self._modal is None: - # Create modal - self._modal = self.create_modal() - + self._modal = self.create_modal() self._modal.code.default = self.code return self._modal @@ -258,9 +255,8 @@ class Exec(LionCog): @appcmd.describe( string="Code to execute." ) - @appcmd.guilds(*guild_ids) async def async_cmd(self, ctx: LionContext, *, string: Optional[str] = None): - await ExecUI(ctx, string, ExecStyle.EXEC).run() + await ExecUI(ctx, string, ExecStyle.EXEC, ephemeral=False).run() @commands.hybrid_command( name=_p('command', 'eval'), diff --git a/src/modules/video_channels/cog.py b/src/modules/video_channels/cog.py index 4f2fa629..421c28d7 100644 --- a/src/modules/video_channels/cog.py +++ b/src/modules/video_channels/cog.py @@ -479,7 +479,7 @@ class VideoCog(LionCog): "you disabled your video.\n" "Please keep your video on at all times, and leave the channel if you need " "to disable it!" - )) + )).format(channel=channel.mention) ) modcog: ModerationCog = self.bot.get_cog('ModerationCog') await modcog.send_alert(