Delete src/index.ts~
This commit is contained in:
parent
86764942d9
commit
5e34da71fb
1 changed files with 0 additions and 18 deletions
|
@ -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);
|
Loading…
Reference in a new issue