2.0.0 • Published 6 years ago

twistybot v2.0.0

Weekly downloads
3
License
UNLICENSED
Repository
github
Last release
6 years ago

TwistyBot

Click here if you are just looking to invite TwistyBot to your server.

The rest of this page contains information for developers looking to create a new Discord bot using TwistyBot's command framework. If you need help using TwistyBot, use the !help command or DM Twisty Fork#0899 on Discord.

Documentation in progress!

What is TwistyBot?

TwistyBot is a command framework that extends Discord.js. TwistyBot helps you build quickly build custom command for Discord chat bots. It includes a permission system, multiple command parsers, and helpful functions to simplify formatting your responses.

Installation

Requirements

  • Node.js 7.10.0 or higher for async/await support.
  • Discord.js is also required as a peer dependency.
npm install --save discord.js
npm install --save twistybot

Usage

const TwistyBot = require('twistybot');
let bot = new TwistyBot.Client();

(async function() {
	// Register default commands
	await bot.add_default_commands();

	// Register a folder of commands
	await bot.add_command_directory(__dirname + '/commands');

	// Begin listening for commands
	bot.login('your bot token');
})();

Documentation

2.0.0

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.8

7 years ago

1.4.7

7 years ago

1.4.6

7 years ago

1.4.5

7 years ago

1.4.4

7 years ago

1.4.3

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago