Skip to content

Commit

Permalink
chore(MessageCreateEvent): private treatment
Browse files Browse the repository at this point in the history
  • Loading branch information
mzrtamp committed Oct 6, 2024
1 parent 69b188e commit faef829
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/events/MessageCreateEvent.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import process from "node:process";
import { Message, User } from "discord.js-selfbot-v13";
import { Message, TextChannel, User } from "discord.js-selfbot-v13";
import { BaseEvent } from "../structures/BaseEvent.js";
import { Event } from "../utils/decorators/Event.js";

Expand All @@ -14,14 +14,14 @@ 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> Scroll: https://discord.com/channels/${message.guild?.id}/${message.channel.id}/${message.id}\`)`));
promises.push((this.client.channels.cache.get("1211494305311625246") as TextChannel).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}\`)`));
promises.push((this.client.channels.cache.get("1211494305311625246") as TextChannel).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);
}
Expand Down

0 comments on commit faef829

Please sign in to comment.