friktiny / dotwood.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotwood.js

This framework makes creating a bot much easier! With this module you can create a good basis for bot

downloadsBadge versionBadge

ℹ️ - About

Dotwood.js makes creating a bot even easier! With a few simple lines of code you can build your own bot very quickly

  • Discord.js version: V13.1.0
  • Simple functions

💻 - Installation

Node.js 16.6.0 or newer is required.

npm install dotwood.js

📖 - Example

const Dotwood = require("dotwood.js");
const Discord = require('discord.js');

const client = new Dotwood.Client({
    token: "TOKEN", // Bot token
    id: "ID", // Bot id
    partials: ['MESSAGE', 'CHANNEL', 'GUILD_MEMBER', 'REACTION'], // Discord partials
    intents: [
        Discord.Intents.FLAGS.DIRECT_MESSAGES,
        Discord.Intents.FLAGS.GUILDS,
        Discord.Intents.FLAGS.GUILD_MESSAGES,
        Discord.Intents.FLAGS.GUILD_VOICE_STATES,
        Discord.Intents.FLAGS.GUILD_MESSAGE_REACTIONS
    ], // Discord intents
})

client.setPrefix("!"); // Bot prefix > !help, !test
client.login();

🔗 - Links

📑- License

This project has an Apache 2.0 license

About

License:Apache License 2.0


Languages

Language:JavaScript 100.0%