Delete src/index.ts~

This commit is contained in:
ale 2023-08-20 18:51:32 +00:00
parent 86764942d9
commit 5e34da71fb

View file

@ -1,18 +0,0 @@
import { Client, Message } from "revolt.js";
import { commandHandler } from "./utils/commandHandler"
import config from "../config.json"
const client : Client = new Client();
client.on("ready", async () =>
console.info(`Gummed in as ${client.user.username}!`)
);
client.on("messageCreate", async (message: Message) => {
if (message.author.bot) {}
else {
if (message.content.startsWith(config.prefix)){commandHandler(message, config.prefix)}
}
});
client.loginBot(config.botKey);