A pre-hosted version of the bot can be added to your server at:
https://discordapp.com/oauth2/authorize?client_id=168080204063834112&scope=bot&permissions=0
1: Download a copy of the bot
2: Set up the config.json in the main directory with information the correct information following the guide below
{
"prefix": "!",
"bot_owner": "",
"homepage": "",
"description": "",
"game_name": "",
"streaming_status": false,
"stream_url": "",
"time_format": "ddd MMM DD YYYY | kk:mm:ss",
"discord_pw_post": false,
"discord_pw_key": "",
"carbonitex_post": false,
"carbonitex_key": "",
"token": ""
}
prefix
The prefix the bot will use. Space automaticly applied between between the prefix and the command.
bot_owner
Your Discord ID.
homepage
A website for the bot.
description
A description for the bot.
game_name
Name of the game the bot is set to play.
streaming_status
If set to use the streaming status.
stream_url
Twitch URL to stream.
time_format
How time is displayed as.
discord_pw_post
If using discord.pw
discord_pw_key
The key for discord.pw
carbonitex_post
If using Carbonitex
carbonitex_key
The key for Carbonitex
token
The token for the bot
3: Install the latest version of Node
4: Run npm install && node bot.js
5: Profit
1: Create a new file in the commands folder ending in .js
2: Use this as a template for your new command
/**
* Perhion Bot
* Custom Command
* Created:
* Last Updated:
* Author:
* Description:
*/
//Set up modules and files
const logger = require("../utils/logger.js");
module.exports = function (bot) {
//Ping Command
bot.registerCommand("printhi", (msg) => {
//Create the Message
bot.createMessage(msg.channel.id, "Hi!");
//Print the info that the command was used to the console
var command = "PrintHi";
logger.commandUsed(bot, msg, command);
});
};