Skip to content

Commit 6d4e189

Browse files
authored
Fix link to group page in DM when resetting verification code (#293)
1 parent 97df344 commit 6d4e189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/instances/moderation/ResetGroupCodeCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import config from '../../../config';
44
import { Command, CommandConfig, CommandError, sendModLog } from '../../../utils';
55

66
const DM_MESSAGE = (code: string, groupId: number) =>
7-
`Hey! Here's your new verification code for group [${groupId}](<https://wiseoldman.net/${groupId}>): \n\`${code}\`\n\nPlease save it somewhere safe and be mindful of who you choose to share it with.`;
7+
`Hey! Here's your new verification code for group [${groupId}](<https://wiseoldman.net/groups/${groupId}>): \n\`${code}\`\n\nPlease save it somewhere safe and be mindful of who you choose to share it with.`;
88

99
const CHAT_MESSAGE = (userId: string) =>
1010
`Verification code successfully reset. A DM has been sent to <@${userId}>.`;

0 commit comments

Comments
 (0)