Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 794 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 794 Bytes

PrismaCord

A fresh new way to build your Discord bots using JavaScript or Typescript.


Usage Example

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);

Contributors

Contributing

  • 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