Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Dotwood.js is a framework for building Discord bots using JavaScript and the discord.js library. It aims to provide an easy and organized way to create, manage, and deploy your bots.

License

DotwoodMedia/dotwood.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❗ We are currently working on a new better version! ❗

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.2.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

Dotwood.js is a framework for building Discord bots using JavaScript and the discord.js library. It aims to provide an easy and organized way to create, manage, and deploy your bots.

Topics

Resources

License

Stars

Watchers

Forks