Skip to content

Commit d466ab1

Browse files
committed
chore: add additional weekly reminder
1 parent c9a6413 commit d466ab1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

mask_bloc_bot.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
:star: Take your time exploring our server. Starting with the channels under the Main folder 📂 might be good.
2121
📌 Look through pinned posts for important info."""
2222

23+
WEEKLY_MESSAGE = """
24+
Hi everyone! If you're waiting to get access to the full server, please don't say who invited you or post an intro yet.
25+
26+
To get access, you need to react to the server guidelines post https://discord.com/channels/1073227549867520101/1200982159826108456/1200983315730145443, and the person who invited you needs to vouch for you in a private channel. One of the mods will then give you access manually. Thanks!
27+
28+
Also - reminder to please vouch for folks in the welcome and introductions channel!"""
29+
2330
logger = logging.getLogger('discord')
2431

2532
intents = discord.Intents.default()
@@ -62,7 +69,7 @@ async def on_error(event, *args, **kwargs):
6269
async def weekly_message():
6370
seconds_until_next_reminder = SECONDS_IN_WEEK - ((int(time.time()) - int(VOUCH_REMINDER_START)) % SECONDS_IN_WEEK)
6471
if seconds_until_next_reminder <= SECONDS_IN_HOUR:
65-
await client.get_channel(int(VOUCH_REMINDER_CHANNEL_ID)).send("Reminder to please vouch for folks in the welcome and introductions channel!")
72+
await client.get_channel(int(VOUCH_REMINDER_CHANNEL_ID)).send(WEEKLY_MESSAGE)
6673
logger.info("Sent reminder message")
6774

6875
client.run(TOKEN)

0 commit comments

Comments
 (0)