summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.ts1
-rw-r--r--mod.ts13
2 files changed, 11 insertions, 3 deletions
diff --git a/config.ts b/config.ts
index 6d944f4..f09eb89 100644
--- a/config.ts
+++ b/config.ts
@@ -9,6 +9,7 @@
export const APPROVED_ROLE = "972279632432857118";
export const BREAKOUT_ROOM_EIGHT_ROLE = "972018981403766784";
export const LOBBY_CHANNEL = "972281022764970054";
+export const FUWN_ID = "217348698294714370";
export const CLASS_MEMBERS = [
"Zoltan Szabatin",
"Pam Wiese",
diff --git a/mod.ts b/mod.ts
index e4a7b5b..d677d71 100644
--- a/mod.ts
+++ b/mod.ts
@@ -12,6 +12,7 @@ import {
APPROVED_ROLE,
BREAKOUT_ROOM_EIGHT_ROLE,
CLASS_MEMBERS,
+ FUWN_ID,
LOBBY_CHANNEL,
} from "./config.ts";
@@ -118,7 +119,7 @@ deploy.handle("verify", async (d: deploy.ApplicationCommandInteraction) => {
if (member.nick === name) {
d.respond({
content: "Someone with that exact name is already verified! If you " +
- "think this is an error, DM <@217348698294714370>.",
+ `think this is an error, DM <@${FUWN_ID}>.`,
ephemeral: true,
});
@@ -190,9 +191,15 @@ deploy.handle("queue", (d: deploy.ApplicationCommandInteraction) => {
deploy.handle("setup", (_: deploy.ApplicationCommandInteraction) => {
deploy.client.client?.channels.sendMessage(
LOBBY_CHANNEL,
- "To access the rest of the server, send a message structured like so: " +
+ "To access the rest of the server, send a message structured like this: " +
"`/verify [name]`, with `name` being your full name as shown in Zoom." +
"\n\nAn example of a valid verification request looks like this: " +
- "`/verify Zoltan Szabatin`.",
+ "`/verify Zoltan Szabatin`.\n\nIf you are unable to verify yourself; " +
+ "first, check if your name is recognized as a class member using the " +
+ "`/check [name]` command, with `name` being your full name as show in " +
+ "Zoom. An example of a valid check command looks like: " +
+ "`/check Zoltan Szabatin`.\n\nIf you are unable to verify yourself and " +
+ "your name is not recognized as a class member, you should then DM " +
+ `<@${FUWN_ID}>.`,
);
});