From 5870d9f4cc9ef723c1467b66441a286393c43a26 Mon Sep 17 00:00:00 2001 From: EternalllZM <43221983+EternalllZM@users.noreply.github.com> Date: Sun, 10 Nov 2024 14:04:16 -0600 Subject: [PATCH] fix strings for menu message help options --- roletools/messages.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roletools/messages.py b/roletools/messages.py index add6f8906..7556c7e63 100644 --- a/roletools/messages.py +++ b/roletools/messages.py @@ -138,7 +138,7 @@ async def edit_message( """ Edit a bots message to include Role Buttons - `` - The existing message to add role buttons to. Must be a bots message. + `` - The existing message to add role buttons or select menus to. Must be a bots message. `[buttons]...` - The names of the buttons you want to include up to a maximum of 25. `[menus]...` - The names of the select menus you want to include up to a maximum of 5. @@ -181,7 +181,7 @@ async def send_select( """ Send a select menu to a specified channel for role assignment - `` - the channel to send the button role buttons to. + `` - the channel to send the button select menus to. `[menus]...` - The names of the select menus you want included in the message up to a maximum of 5. `[text]` - The text to be included with the select menu. @@ -223,9 +223,9 @@ async def edit_with_select( menus: commands.Greedy[SelectRoleConverter], ) -> None: """ - Edit a bots message to include Role Buttons + Edit a bots message to include Select Menus - `` - The existing message to add role buttons to. Must be a bots message. + `` - The existing message to add select menus to. Must be a bots message. `[menus]...` - The names of the select menus you want to include up to a maximum of 5. """ if not await self.check_totals(ctx, buttons=0, menus=len(menus)): @@ -233,7 +233,7 @@ async def edit_with_select( if ctx.guild.id not in self.views: self.views[ctx.guild.id] = {} if message.author.id != ctx.guild.me.id: - msg = _("I cannot edit someone elses message to include buttons.") + msg = _("I cannot edit someone elses message to include select menus.") await ctx.send(msg) return if not menus: