Skip to content

Commit 51125bc

Browse files
Replace hardcoded guild name
1 parent 9e5c5dd commit 51125bc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/modules/wheatley/components/moderation/moderation-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ export abstract class ModerationComponent extends BotComponent {
627627
embeds: [
628628
new Discord.EmbedBuilder()
629629
.setColor(colors.wheatley)
630-
.setTitle(`You have been ${action} in Together C & C++.`)
630+
.setTitle(`You have been ${action} in ${this.wheatley.guild.name}.`)
631631
.setDescription(
632632
build_description(
633633
is_removal || this.is_once_off ? null : `**Duration:** ${duration}`,

src/modules/wheatley/components/redirect.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ export default class Redirect extends BotComponent {
100100

101101
await command.reply({
102102
content:
103-
`Hello <@${user.id}>, welcome to Together C & C++! This is not a help channel, please ask your ` +
104-
`question in one of the help channels above (${format_list([
103+
`Hello <@${user.id}>, welcome to ${this.wheatley.guild.name}! ` +
104+
`This is not a help channel, please ask your question in one of the help channels above (${format_list([
105105
`<#${this.channels.cpp_help.id}>`,
106106
`<#${this.channels.cpp_help_text.id}>`,
107107
`<#${this.channels.c_help.id}>`,

0 commit comments

Comments
 (0)