Skip to content

Commit aca37fa

Browse files
Added description to the message after using /verify #85
1 parent 3828430 commit aca37fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/controllers/verifyCommand.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export async function verifyCommand(
1313
env: env
1414
) {
1515
const token = await generateUniqueToken();
16+
const verificationString =
17+
"Like to verify yourself? click the above link and authorize real dev squad to manage your discord data";
1618

1719
const response = await sendUserDiscordData(
1820
token,
@@ -24,7 +26,8 @@ export async function verifyCommand(
2426
);
2527
if (response?.status === 201 || response?.status === 200) {
2628
const verificationSiteURL = config(env).VERIFICATION_SITE_URL;
27-
const message = `${verificationSiteURL}/discord?token=${token}`;
29+
const message =
30+
`${verificationSiteURL}/discord?token=${token}\n` + verificationString;
2831
return discordEphemeralResponse(message);
2932
} else {
3033
return discordEphemeralResponse(RETRY_COMMAND);

0 commit comments

Comments
 (0)