Skip to content

Commit

Permalink
update guide_id
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdedman committed Mar 18, 2024
1 parent e97c62e commit 6fa3a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/extensions/welcome_cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class WelcomeCog(Cog, name="Welcome", description="Welcomes new members"):
"""A cog that sends a welcome message to new members when they join the server."""

WELCOME_MESSAGE = "Hi **{member_name}!** Welcome to the **Code Society**.\n\nIf you need help, use the <#{help_id}> channel " \
"and read the <#{posting_id}> before.\n\nBefore posting please:\n- Take a " \
"and read the <#{guide_id}> before.\n\nBefore posting please:\n- Take a " \
"moment to read the <#{info_id}> and the <#{rules_id}>.\n- Choose some <#{roles_id}>.\n" \
"- Introduce yourself in <#{intro_id}>."

Expand All @@ -28,7 +28,7 @@ def get_welcome_message(self, member):
return self.WELCOME_MESSAGE.format(
member_name=member.mention,
help_id=Channel.get_by(channel_name="help").channel_id,
posting_id=Channel.get_by(channel_name="posting-guidelines").channel_id,
guide_id=Channel.get_by(channel_name="posting-guidelines").channel_id,
info_id=Channel.get_by(channel_name="info").channel_id,
rules_id=Channel.get_by(channel_name="rules").channel_id,
roles_id=Channel.get_by(channel_name="roles").channel_id,
Expand Down

0 comments on commit 6fa3a6d

Please sign in to comment.