Skip to content

Commit

Permalink
updated most local commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon1320 committed Sep 8, 2018
1 parent 614aa82 commit a509aad
Show file tree
Hide file tree
Showing 46 changed files with 1,190 additions and 967 deletions.
41 changes: 27 additions & 14 deletions src/bot/commands/advice.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,33 @@

const Command = require("../command");

const advice = new Command("advice", "Awesom-e advice!", "js", 0, "advice", "command", 0, false, null, function(client, message, guildDoc) {

let advice = [
"Stop being so lame. It's not kewl.",
"Kill all jews... and gingers...",
"Respect Eric Cartman. He is totally cool and not at all lame.",
"Kid picking on you? Turn their parents into chili and feed it to them.",
"Not invited to a party? Trick the most gullible kid.",
"Need a superhero? Call on the Coon! He is the saviour this town needs!",
"Have no idea what to do? Think: What would Brian Boitano do?"
];
let advicerandom = advice[Math.floor(Math.random() * advice.length)];
message.reply("**Here's some advice:** " + advicerandom);
const advice = new Command({

name: "AWESOM-O Advice",
description: "Advice straight from the Robot's Vocal Simulator™",
thumbnail: "https://cdn.discordapp.com/attachments/430447280932388865/474253854465196042/headerawesomo.png",
marketplace_enabled: true,

type: "js",
match_type: "command",
match: "advice",

featured: false,

cb: function (client, message, guildDoc) {

let advice = [
"Stop being so lame. It's not kewl.",
"Kill all jews... and gingers...",
"Respect Eric Cartman. He is totally cool and not at all lame.",
"Kid picking on you? Turn their parents into chili and feed it to them.",
"Not invited to a party? Trick the most gullible kid.",
"Need a superhero? Call on the Coon! He is the saviour this town needs!",
"Have no idea what to do? Think: What would Brian Boitano do?"
];
let advicerandom = advice[Math.floor(Math.random() * advice.length)];
message.reply("**Here's some advice:** " + advicerandom);
}
});

//module.exports = advice;
module.exports = advice;
21 changes: 18 additions & 3 deletions src/bot/commands/america.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,28 @@ const Command = require("../command");

const discord = require("discord.js");

const america = new Command("america", "I thought this is America!", "js", 0, "america", "command", 0, false, null, function(client, message, guildDoc) {
let randomnumber = Math.random();
const america = new Command({

name: "This is America",
description: "I thought this was America!",
thumbnail: "https://i.kym-cdn.com/entries/icons/original/000/015/080/randyarrested_maxresdefault.jpg",
marketplace_enabled: true,

type: "js",
match_type: "command",
match: "america",

featured: false,

cb: function (client, message, guildDoc) {

let randomnumber = Math.random();
if (randomnumber < 0.95) {
message.channel.send(new discord.RichEmbed().setColor(0xff594f).setImage("http://i0.kym-cdn.com/photos/images/original/001/234/287/e06.gif"));
} else {
message.reply("https://www.youtube.com/watch?v=VYOjWnS4cMY");
}
}
});

//module.exports = america;
module.exports = america;
22 changes: 18 additions & 4 deletions src/bot/commands/artcomp.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,22 @@ const Command = require("../command");

const discord = require("discord.js");

const artcomp = new Command("artcomp", "permissions lol", "js", 0, "artcomp", "command", 0, false, null, function(client, message, guildDoc) {
const artall = [{
const artcomp = new Command({

name: "Art Comp April '18 Entries",
description: "Entries of the Art Competition from April 2018",
thumbnail: "https://cdn.discordapp.com/attachments/394504208222650369/453235231214796800/cartman_and_his_mad_plans.png",
marketplace_enabled: true,

type: "js",
match_type: "command",
match: "artcomp",

featured: false,

cb: function (client, message, guildDoc) {

const artall = [{
name: "orang",
desc: "why the fuck are my arms triangular?",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235029795930126/towel.png"
Expand Down Expand Up @@ -229,7 +243,7 @@ const artcomp = new Command("artcomp", "permissions lol", "js", 0, "artcomp", "c
let randall = Math.floor(Math.random() * artall.length);
let randomobject = artall[randall];
message.channel.send(new discord.RichEmbed().setColor(0xff594f).setAuthor(randomobject.name).setDescription(randomobject.desc).setImage(randomobject.file));
}
});

//module.exports = artcomp;

module.exports = artcomp;
21 changes: 17 additions & 4 deletions src/bot/commands/back.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@

const Command = require("../command");

const back = new Command("back", "Im baaaaack", "js", 0, "back", "command", 0, false, null, function(client, message, guildDoc) {

message.channel.send("<:imback:452191400268922900> <@" + message.author.id + ">" + " is baaaaaaack!");
const back = new Command({

name: "I'm Back!",
description: "^^^",
thumbnail: "http://southparkstudios.mtvnimages.com/shared/characters/kids/kyle-schwartz.png",
marketplace_enabled: true,

type: "js",
match_type: "command",
match: "back",

featured: false,

cb: function(client, message, guildDoc) {

message.channel.send("<:imback:452191400268922900> <@" + message.author.id + ">" + " is baaaaaaack!");
}
});

//module.exports = back;
module.exports = back;
27 changes: 20 additions & 7 deletions src/bot/commands/batman.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,25 @@

const Command = require("../command");

const batman = new Command("batman", "summons a brave dark knight", "js", 0, "batman", "command", 0, false, null, function(client, message, guildDoc) {

message.channel.send("", {
file: "https://cdn.discordapp.com/attachments/379432139856412682/401498015719882752/batman.png"
});
});
const batman = new Command({

name: "Batman",
description: "na na na na na na na na",
thumbnail: "https://78.media.tumblr.com/tumblr_m69aybXOg71r6bzymo1_400.png",
marketplace_enabled: true,

type: "js",
match_type: "command",
match: "batman",

//module.exports = batman;
featured: false,

cb: function(client, message, guildDoc) {

message.channel.send("", {
file: "https://cdn.discordapp.com/attachments/379432139856412682/401498015719882752/batman.png"
});
}
});

module.exports = batman;
121 changes: 67 additions & 54 deletions src/bot/commands/butters.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,59 +4,72 @@ const discord = require("discord.js");

const Command = require("../command");

const butters = new Command("butters", "random photo of butters", "js", 0, "butters", "command", 0, false, null, function(client, message, guildDoc) {

const buttersimg = [
"https://cdn.discordapp.com/attachments/394504208222650369/447785248931971082/Butters17.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785256129527809/Butters3.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785260034555915/Butters5.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785265121984534/Butters8.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785273179504640/Butters9.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785279529680910/Butters10.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785288178335764/Butters12.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785295220441128/Butters13.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785304359960576/Butters14.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785316481499136/Butters15.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785340237774848/Butters30.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785353148104705/Butters18_.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785365017985024/Butters19.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785370374111243/Butters20.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785380041850880/Butters22.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785388103303188/Butters24.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785397091827724/Butters26.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785406474354699/Butters27.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785413533499392/Butters28.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785421838221322/Butters29.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785438271242240/Butters55.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785447020691456/Butters31.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785455161704448/Butters32.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785462606725131/Butters34.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785471439929346/Butters35.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785483557404673/Butters40.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785487650783237/Butters44.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785497117458459/Butters48.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785504331530242/Butters51.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785510325190677/Butters54.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785525802303503/Butters75.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785532165193738/Butters66.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785540696408074/Butters67.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785546761240577/Butters68.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785552977068032/Butters69.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785559658856479/Butters70.gif",
"https://cdn.discordapp.com/attachments/394504208222650369/447785566667407380/Butters71.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785574196051968/Butters72.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785586003017728/Butters73.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785587508903976/Butters74.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785602973433857/Butters81.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785614373552181/Butters77.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785615115812874/Butters76.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785621675573258/Butters78.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785633826734081/Butters80.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785636376870943/Butters79.png"
];

message.channel.send(new discord.RichEmbed().setColor(0xff594f).setImage(buttersimg[Math.floor(Math.random() * buttersimg.length)]));

const butters = new Command({

name: "Butters",
description: "Who's the kid with a heart full of magic? Everyone knows it's Butters!",
thumbnail: "https://pbs.twimg.com/profile_images/911247554133626881/3T_b4g1W_400x400.jpg",
marketplace_enabled: true,

type: "js",
match_type: "command",
match: "butters",

featured: false,

cb: function (client, message, guildDoc) {

const buttersimg = [
"https://cdn.discordapp.com/attachments/394504208222650369/447785248931971082/Butters17.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785256129527809/Butters3.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785260034555915/Butters5.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785265121984534/Butters8.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785273179504640/Butters9.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785279529680910/Butters10.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785288178335764/Butters12.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785295220441128/Butters13.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785304359960576/Butters14.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785316481499136/Butters15.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785340237774848/Butters30.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785353148104705/Butters18_.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785365017985024/Butters19.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785370374111243/Butters20.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785380041850880/Butters22.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785388103303188/Butters24.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785397091827724/Butters26.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785406474354699/Butters27.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785413533499392/Butters28.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785421838221322/Butters29.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785438271242240/Butters55.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785447020691456/Butters31.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785455161704448/Butters32.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785462606725131/Butters34.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785471439929346/Butters35.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785483557404673/Butters40.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785487650783237/Butters44.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785497117458459/Butters48.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785504331530242/Butters51.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785510325190677/Butters54.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785525802303503/Butters75.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785532165193738/Butters66.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785540696408074/Butters67.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785546761240577/Butters68.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785552977068032/Butters69.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785559658856479/Butters70.gif",
"https://cdn.discordapp.com/attachments/394504208222650369/447785566667407380/Butters71.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785574196051968/Butters72.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785586003017728/Butters73.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785587508903976/Butters74.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785602973433857/Butters81.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785614373552181/Butters77.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785615115812874/Butters76.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785621675573258/Butters78.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785633826734081/Butters80.png",
"https://cdn.discordapp.com/attachments/394504208222650369/447785636376870943/Butters79.png"
];

message.channel.send(new discord.RichEmbed().setColor(0xff594f).setImage(buttersimg[Math.floor(Math.random() * buttersimg.length)]));
}
});

//module.exports = butters;
module.exports = butters;
21 changes: 17 additions & 4 deletions src/bot/commands/coinflip.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@

const Command = require("../command");

const coinflip = new Command("coinflip", "wonks", "js", 0, "coinflip", "command", 0, false, null, function(client, message, guildDoc) {

message.reply(Math.floor(Math.random() * 2) === 0 ? "heads" : "tails");
const coinflip = new Command({

name: "Coin Flip",
description: "Flip a coin",
thumbnail: "https://images-na.ssl-images-amazon.com/images/I/71zkn4UyOPL._SX466_.jpg",
marketplace_enabled: true,

type: "js",
match_type: "command",
match: "coinflip",

featured: false,

cb: function(client, message, guildDoc) {

message.reply(Math.floor(Math.random() * 2) === 0 ? "heads" : "tails");
}
});

//module.exports = coinflip;
module.exports = coinflip;
22 changes: 18 additions & 4 deletions src/bot/commands/colour.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,23 @@ const discord = require("discord.js")

const Command = require("../command");

const colour = new Command("colour", "0xff594f", "js", 0, "colour", "command", 0, false, null, function(client, message, guildDoc){
message.channel.send(new discord.RichEmbed().setColor(0xff594f).setDescription("The Feinwaru colour is: **0xff594f**"));
});
const colour = new Command({

name: "Feinwaru Colour",
description: "Learn your overlord's colour",
thumbnail: "https://pbs.twimg.com/profile_images/959181051112382464/M6OKsgM1.jpg",
marketplace_enabled: true,

type: "js",
match_type: "command",
match: "colour",

//module.exports = colour;
featured: false,

cb: function(client, message, guildDoc) {

message.channel.send(new discord.RichEmbed().setColor(0xff594f).setDescription("The Feinwaru colour is: **0xff594f**"));
}
});

module.exports = colour;
23 changes: 18 additions & 5 deletions src/bot/commands/dam.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,23 @@

const Command = require("../command");

const dam = new Command("dam", "i broke the dam", "js", 0, "I broke the dam", "startswith", 0, false, null, function(client, message, guildDoc) {

message.reply("No, I broke the dam");

const dam = new Command({

name: "I broke that dam",
description: "No, I broke the dam",
thumbnail: "https://media.giphy.com/media/l2SpRYFoEozfcFa24/giphy.gif",
marketplace_enabled: true,

type: "js",
match_type: "contains",
match: "i broke the dam",

featured: false,

cb: function(client, message, guildDoc) {

message.reply("No, I broke the dam");
}
});

//module.exports = dam;
module.exports = dam;

0 comments on commit a509aad

Please sign in to comment.