Skip to content

Instantly share code, notes, and snippets.

View funnbot's full-sized avatar

Dillon Bayless funnbot

  • San Francisco Bay Area
  • 03:53 (UTC -07:00)
View GitHub Profile
@funnbot
funnbot / acbot.js
Last active August 25, 2017 04:03
auto correct self bot
/*
Create auth.js in same dir with module.exports = "token"
*/
const spc = require('spellchecker');
const {
Client
} = require("discord.js");
const client = new Client({
messageCacheMaxSize: 10,
if (process.version.startsWith("v6")) throw new Error("This Bot requires Node 7v+ because of async/await")
const Discord = require("discord.js")
const express = require("express")
const app = express()
const superagent = require("superagent")
//Config
let INVITE = process.env.INVITE || "", //An Infinite Invite to your discord server.
GUILD = process.env.GUILD || "", //The ID of the Guild for this invite ^
@funnbot
funnbot / donotpresstheredbutton.js
Created February 20, 2017 22:01
The Entire Text for the Do Not Press The Red Button game in an easy to use array and new lines in correct places.
[
"DO NOT PRESS",
"*Ahem*\nDO NOT PRESS",
"... you pressed it again.\nOkay punk, press it again.",
"Yeah, that's it.\nCome on, one more time.",
"Again.",
"Do it.",
"Okay, now you've had your fill.\nStop clicking.",
"You see, this is why\nwe can't be friends.",
"You're just too selfish.",

Keybase proof

I hereby claim:

  • I am dillman33 on github.
  • I am funnbot (https://keybase.io/funnbot) on keybase.
  • I have a public key whose fingerprint is 25C2 DBF9 6853 1525 2148 5474 7BEC 473E C990 D05C

To claim this, I am signing this object:

@funnbot
funnbot / cah.js
Last active February 19, 2017 05:24
Cards Against Humanity for MopBot
let cah = {}
exports.exec = (message, bot, suffix, param) => {
if (param[1] === "end") {
let staffRole = config.getStaffRole(message.guild.id);
if (!message.guild.roles.exists('name', staffRole) || !message.author.id === message.guild.ownerID) return sendWarn(message, `Your server does not have the designated Staff Role \`${staffRole}\`.\nIt is required for some of my commands`);
if (!message.member.roles.exists('name', staffRole) || !message.author.id === message.guild.ownerID) return sendWarn(message, `To end a cards against humanity game you need the role \`${staffRole}\`.`);
delete cah[message.guild.id];
sendSucc(message, "Cards Against Humanity Game Ended.")
@funnbot
funnbot / colorme.js
Created December 27, 2016 02:57
This is my colorme command for my bot MopBot.
const misc = require('../../Functions/misc');
exports.exec = (message, bot, suffix, param) => {
let colors = {
red: "#ff0000",
darkred: "#730000",
pink: "#FC10EC",
orange: "#ff7300",
yellow: "#ffff00",
blue: "#0000ff",