Initial commit

This commit is contained in:
2025-11-09 10:23:23 +01:00
commit f890341ffe
34 changed files with 1058 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import {data} from "../appData.js";
export class MessageSender {
constructor(client) {
this.client = client;
}
async send(channelID, message) {
const channel = await data.client.channels.fetch(channelID);
if (channel && channel.isTextBased()) {
await channel.send(message);
} else {
console.log('❌ Channel not found!');
}
}
}