Skip to content

Instantly share code, notes, and snippets.

View TheGuywithTheHat's full-sized avatar

The Guy with The Hat TheGuywithTheHat

View GitHub Profile
@TheGuywithTheHat
TheGuywithTheHat / discord-repl.js
Created August 24, 2018 23:11
script for manually controlling a discord.js bot
const config = require('./config.json');
const Discord = require('discord.js');
const client = new Discord.Client();
const repl = require('repl');
const handlers = {
say: sayHandler,
channel: channelHandler,
}