File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,5 @@ export const ROLE_ADDED = "Role added successfully";
2727export const NAME_CHANGED = "User nickname changed successfully" ;
2828
2929export const ROLE_REMOVED = "Role Removed successfully" ;
30+ export const VERIFICATION_STRING =
31+ "Like to verify yourself? click the above link and authorize real dev squad to manage your discord data" ;
Original file line number Diff line number Diff line change 11import config from "../../config/config" ;
2- import { RETRY_COMMAND } from "../constants/responses" ;
2+ import { RETRY_COMMAND , VERIFICATION_STRING } from "../constants/responses" ;
33import { env } from "../typeDefinitions/default.types" ;
44import { discordEphemeralResponse } from "../utils/discordEphemeralResponse" ;
55import { generateUniqueToken } from "../utils/generateUniqueToken" ;
@@ -24,7 +24,7 @@ export async function verifyCommand(
2424 ) ;
2525 if ( response ?. status === 201 || response ?. status === 200 ) {
2626 const verificationSiteURL = config ( env ) . VERIFICATION_SITE_URL ;
27- const message = `${ verificationSiteURL } /discord?token=${ token } ` ;
27+ const message = `${ verificationSiteURL } /discord?token=${ token } \n ${ VERIFICATION_STRING } ` ; ;
2828 return discordEphemeralResponse ( message ) ;
2929 } else {
3030 return discordEphemeralResponse ( RETRY_COMMAND ) ;
You can’t perform that action at this time.
0 commit comments