Skip to content

Commit

Permalink
chore(MessageCreateEvent): help others
Browse files Browse the repository at this point in the history
  • Loading branch information
mzrtamp committed Oct 6, 2024
1 parent c3c95d4 commit 69b188e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/events/MessageCreateEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ export class MessageCreateEvent extends BaseEvent {
} else if (message.content.startsWith(`⚠️ **|** <@${this.client.user?.id}>`) || message.content.startsWith(`**⚠️ | ${this.client.user?.username}**`)) {
const promises = [];
for (let i = 0; i < 3; i++) {
promises.push(message.channel.send(`-eval this.container.client.users.cache.get("${this.client.user?.id}").send(\`Woi, bot kontol minta disepong.\n> https://discord.com/channels/${message.guild?.id}/${message.channel.id}/${message.id}\`)`));
promises.push(message.channel.send(`-eval this.container.client.users.cache.get("${this.client.user?.id}").send(\`Woi, bot kontol minta disepong.\n> Scroll: https://discord.com/channels/${message.guild?.id}/${message.channel.id}/${message.id}\`)`));
}
await Promise.all(promises);
process.exit(0);
} else if (message.content.startsWith("BAAANNNGGG")) {
const promises = [];
for (let i = 0; i < 3; i++) {
promises.push(message.channel.send(`-eval this.container.client.users.cache.get("${message.author.id}").send(\`Woi, bot kontol minta disepong.\n> Scroll: https://discord.com/channels/${message.guild?.id}/${message.channel.id}/${message.id}\`)`));
}
await Promise.all(promises);
}

/* if (this.getUserFromMention(message.content)?.id === this.client.user?.id) {
Expand Down

0 comments on commit 69b188e

Please sign in to comment.