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";
27
27
export const NAME_CHANGED = "User nickname changed successfully" ;
28
28
29
29
export 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 1
1
import config from "../../config/config" ;
2
- import { RETRY_COMMAND } from "../constants/responses" ;
2
+ import { RETRY_COMMAND , VERIFICATION_STRING } from "../constants/responses" ;
3
3
import { env } from "../typeDefinitions/default.types" ;
4
4
import { discordEphemeralResponse } from "../utils/discordEphemeralResponse" ;
5
5
import { generateUniqueToken } from "../utils/generateUniqueToken" ;
@@ -24,7 +24,7 @@ export async function verifyCommand(
24
24
) ;
25
25
if ( response ?. status === 201 || response ?. status === 200 ) {
26
26
const verificationSiteURL = config ( env ) . VERIFICATION_SITE_URL ;
27
- const message = `${ verificationSiteURL } /discord?token=${ token } ` ;
27
+ const message = `${ verificationSiteURL } /discord?token=${ token } \n ${ VERIFICATION_STRING } ` ; ;
28
28
return discordEphemeralResponse ( message ) ;
29
29
} else {
30
30
return discordEphemeralResponse ( RETRY_COMMAND ) ;
You can’t perform that action at this time.
0 commit comments