1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 00:10:58 -05:00

Naughty naughty

This commit is contained in:
toast-ts 2024-02-03 10:32:29 +11:00
parent f536759c18
commit 1d9f3d9ba7

View File

@ -22,7 +22,7 @@ export default class ProhibitedWords {
if (wordExists) return interaction.reply({ephemeral: true, content: `\`${word}\` already exists in the list`});
else {
await client.prohibitedWords.insertWord(word);
interaction.reply({ephemeral: true, content: `Successfully added \`${word}\` to the list`});
interaction.reply({ephemeral: true, content: `Successfully added \`${word}\` to the prohibited words list`});
await this.notify(client, {
embeds: [new client.embed()
.setColor(client.config.embedColorGreen)
@ -37,7 +37,7 @@ export default class ProhibitedWords {
if (!wordExists) return interaction.reply({ephemeral: true, content: `\`${word}\` does not exist in the list`});
else {
await client.prohibitedWords.removeWord(word);
interaction.reply({ephemeral: true, content: `Successfully removed \`${word}\` from the list`});
interaction.reply({ephemeral: true, content: `Successfully removed \`${word}\` from the prohibited words list`});
await this.notify(client, {
embeds: [new client.embed()
.setColor(client.config.embedColorRed)