From 3bf44c545ff2a9f1c6a446a1089f4cac4d4ab5ad Mon Sep 17 00:00:00 2001 From: Xarlos89 <57622136+Xarlos89@users.noreply.github.com> Date: Sat, 11 Jan 2025 18:17:02 +0100 Subject: [PATCH] verification workaround --- src/zorak/cogs/admin/verification_on_join.py | 2 +- src/zorak/cogs/admin/verification_on_verified.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zorak/cogs/admin/verification_on_join.py b/src/zorak/cogs/admin/verification_on_join.py index 42607531..a50b45ec 100644 --- a/src/zorak/cogs/admin/verification_on_join.py +++ b/src/zorak/cogs/admin/verification_on_join.py @@ -31,7 +31,7 @@ async def send_welcome_message(self, guild, member): Before you are allowed to chat, you need to verify that you are NOT a bot.\n Dont worry, it's easy. Just go to {self.bot.get_channel(self.bot.server_settings.mod_channel['verification_channel']).mention} - and use the **/verify** slash command. + and use the **/verify** command. After you do, all of {guild.name} is available to you. Have a great time :-) """ diff --git a/src/zorak/cogs/admin/verification_on_verified.py b/src/zorak/cogs/admin/verification_on_verified.py index 8bf38f2e..3f26b8e6 100644 --- a/src/zorak/cogs/admin/verification_on_verified.py +++ b/src/zorak/cogs/admin/verification_on_verified.py @@ -135,7 +135,7 @@ def __init__(self, bot): # If you wanted to prepopulate the view with a user's current roles, # I think you could do it here. Grab the user object from ctx, # grab the roles, and pass it into the view. Which can then pass it into the dropdowns. - @commands.slash_command(description="Verification!") + @commands.command(description="Verification!") async def verify(self, ctx): """The slash command that initiates the fancy menus.""" if str(type(ctx.channel)) == "":