const { PrismaClient } = require("prismacord");
const client = new PrismaClient({ intents: ["GUILDS", "GUILD_MESSAGES"] });
client.on("ready", () => {
console.log("The bot is ready!");
});
client.connect(process.env.TOKEN);
- Clone the repo:
git clone <link pending>
- Install dependencies using:
yarn install
- Run TypeScript compiler using
tsc --watch
or enable recompiling TS on changes in your IDE - Test the package using a test bot using
yarn test