About a year ago, I decided to revive Hulkbot from its past state of disarray. It was failing all the time due to out of date code;
it was crashing over and over because I simply didn't want to fix the issues (considering I was 14 years old at the time of making Hulkbot,
and a 14 year old really can't prioritize quite like a 17 year old does.
I spent all year writing the code for Hulkbot v2. It took me hours of rigorgous coding to get Hulkbot where it is now. That's why I've introduced...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
token=random-bot-token | |
ytapi_key=random-ytapi-key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hi I like ducks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// run 'npm i -s mongoose' | |
const mongoose = require('mongoose') | |
// connect | |
mongoose.connect(`your-auth-url-here`) | |
.then(() => console.log("Mongoose has connected.")) | |
.catch(err => console.log(`Mongoose failed to connect. Error: ${err}`)) | |
// make a new schema | |
const schema = mongoose.Schema({ | |
// this is just an example, you don't have to use these specific details |
Discode is a new and lightweight Node.js wrapper for the Discord API. It offers new features including webhook functions and more. The goal of this project was to use a significantly less amount of RAM than discord.js. I succeeded.
How to make a basic ping pong bot:
const discord = require('discode')
const bot = new discord.Client('some crazy token')
This is the official documentation for Hulkbot, a wonderful bot programmed in Discord.js. Here, you can find a full list of commands, command usage, and more.
When Hulkbot joins your server, it'll DM you instructions to get started. To get started using the bot, say h!info in the server, and you'll get some basic info for the bot. To view the commands, say h!help. There! You're started with Hulkbot, the (going to be) best discord bot!