Skip to content

Commit

Permalink
feat: Added link directly to customize roles section
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Cavanagh committed Jul 29, 2023
1 parent 8861207 commit f2c8278
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/albion/commands/register.command.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ describe('AlbionRegisterCommand', () => {

const response = await command.onAlbionRegisterCommand(dto, mockInteraction);

expect(response).toBe(`Thank you ${mockUser.username}, you've been verified as a [DIG] guild member! Please read the information within <#${expectedWelcomeChannelId}> to be fully acquainted with the guild! Don't forget to grab roles for areas of interest in the "Channels & Roles" menu right at the top of this server!`);
expect(response).toBe(`Thank you ${mockUser.username}, you've been verified as a [DIG] guild member! Please read the information within <#${expectedWelcomeChannelId}> to be fully acquainted with the guild! Don't forget to grab roles for areas of interest in <id:customize> under the Albion section!`);
});

it('should return a message if the character is not a member of the guild', async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/albion/commands/register.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ export class AlbionRegisterCommand {
}

// Successful!
return `Thank you ${character.data.Name}, you've been verified as a [DIG] guild member! Please read the information within <#${this.config.get('discord.channels.albionWelcomeToAlbion')}> to be fully acquainted with the guild! Don't forget to grab roles for areas of interest in the "Channels & Roles" menu right at the top of this server!`;
return `Thank you ${character.data.Name}, you've been verified as a [DIG] guild member! Please read the information within <#${this.config.get('discord.channels.albionWelcomeToAlbion')}> to be fully acquainted with the guild! Don't forget to grab roles for areas of interest in <id:customize> under the Albion section!`;
}
}

0 comments on commit f2c8278

Please sign in to comment.