Skip to content

Commit cd58dda

Browse files
authored
Merge pull request #227 from practical-python-org/task/update-verification-message
fix: Task/update verification message
2 parents 4362f82 + 8ef98a5 commit cd58dda

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/zorak/cogs/admin/verification_on_verified.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def verify_button_callback(self, bot, interaction):
5454
name=f"You are member number {guild.member_count}!",
5555
value=f"""
5656
Awesome, {user.mention}. Thank you for verifying.
57-
Allow me to introduce you {guild.name}.
57+
Allow me to introduce you to {guild.name}.
5858
5959
1. Be sure to read our {self.bot.get_channel(self.bot.server_settings.mod_channel['rules_channel']).mention}.
6060
2. Set some roles using **/roles**
@@ -63,7 +63,7 @@ async def verify_button_callback(self, bot, interaction):
6363
We keep a ton of awesome links to courses, cool tools, and popular software in {self.bot.get_channel(self.bot.server_settings.normal_channel['resources_channel']).mention}.
6464
If you have any questions, feel free to post your question in {self.bot.get_channel(self.bot.server_settings.normal_channel['python_help_1']).mention}
6565
66-
I can run your code directly in the server!
66+
Also, I can run your code directly in the server!
6767
To learn how, type **/help** in any channel.
6868
6969
Looking forward to having you here!
@@ -97,7 +97,13 @@ def __init__(self, bot):
9797
@commands.slash_command(description="Adds verify button to channel.") # Create a slash command
9898
async def add_verify_button(self, ctx):
9999
"""Adds the button"""
100-
await ctx.respond("Please Verify that you are not a bot.", view=AdminVerification(self.bot))
100+
button_message = ("Welcome to Practical Python! We’re thrilled to have you here to learn "
101+
"and collaborate with fellow Python enthusiasts. Before diving in, "
102+
"please click the 'Verify' button to confirm your identity and gain "
103+
"access to the server. Feel free to introduce yourself and don't "
104+
"hesitate to ask any questions. Happy coding!")
105+
106+
await ctx.respond(button_message, view=AdminVerification(self.bot))
101107

102108
async def cog_command_error(self, ctx: commands.Context, error: commands.CommandError):
103109
if isinstance(error, commands.MissingPermissions):

0 commit comments

Comments
 (0)