Skip to content

Commit

Permalink
simple commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon1320 committed Jun 30, 2018
1 parent bcc67f4 commit c8ae27b
Show file tree
Hide file tree
Showing 47 changed files with 1,155 additions and 37 deletions.
Binary file modified .vs/slnx.sqlite
Binary file not shown.
21 changes: 21 additions & 0 deletions src/bot/commands/advice.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"use strict"

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);

});

module.exports = advice;
16 changes: 16 additions & 0 deletions src/bot/commands/america.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"use strict"

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();
if (randomnumber < 0.95) {
message.channel.send(new discord.RichEmbed().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;
235 changes: 235 additions & 0 deletions src/bot/commands/artcomp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
"use strict"

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 = [{
name: "orang",
desc: "why the fuck are my arms triangular?",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235029795930126/towel.png"
},
{
name: "Kyle Schwartz",
desc: "Fucking Chef from South Park",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453234993821515787/Cher.PNG"
},
{
name: "little red riding kahl",
desc: "creggo my eggo",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453234961961451550/20180430-001.jpg"
},
{
name: "FoxReed",
desc: "Guitar Queer-O",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235014587383818/kyle_stan_guitar_hero.jpg"
},
{
name: "Jusky",
desc: "cartman's chest is his stomach",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453234987664146432/big_boy_kyle.PNG"
},
{
name: "pbkid2222",
desc: "Mysterion",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235020086116363/lol.jpg"
},
{
name: "Phin",
desc: "Marine Craig dude",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453234970685865984/Almostdone.png"
},
{
name: "Tweek Tweak",
desc: "Scott Malkinson",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235024880205834/scott.png"
},
{
name: "TowelRoyale",
desc: "Respect mah Authoritah!",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453234979804020746/Authoritah2.png"
},
{
name: "Stfu",
desc: "You know I had to do it to 'em",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235035319959553/unknown.png"
},
{
name: "(Mako: Certified Pimp)",
desc: "Here's my Gerald thing",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235003313094656/funny.png"
},
{
name: "SparkedFires",
desc: "So sad cause I wanted to make it digital but school is kicking my ASS!!!",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235008736329748/image.jpg"
},
{
name: "Mattheous",
desc: "Vector Butters!!!",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235040646594561/Vector_Butters.png",
},
{
name: "Fenny",
desc: "Mosquito VS Coon!",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235046384533522/Week1contest.png"
},
{
name: "officalchespiny",
desc: "Brimmy",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235101527179274/image_1.jpg"
},
{
name: "Stfu",
desc: "dogshit",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235163124596756/unknown.png"
},
{
name: "o携ang",
desc: "david",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235094845390849/daveed.png"
},
{
name: "TowelRoyale",
desc: "Why so sensitive?",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235154169888778/Reality_2.png"
},
{
name: "little red riding kahl",
desc: "lola bitch",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235090550685716/bitch.png"
},
{
name: "Nitr0Sag3 (Blind in ways)",
desc: "Kevin stoley will save mars",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235117532643332/JPEG_20180508_195938.jpg"
},
{
name: "FoxReed",
desc: "Jesus VS Santa",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235110230360094/jesus_vs_santa.jpg"
},
{
name: "Mattheous",
desc: "just_ryan.rpy",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235134817107988/just_ryan.rpy.png"
},
{
name: "Kyle Schwartz",
desc: "Human Kite 2 and Dr. Mephesto",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235159890919442/Stop.png"
},
{
name: "Tweek Tweak",
desc: "My Big Brother",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235132753510400/kennyandkaren.png"
},
{
name: "duck",
desc: "kevin the star wars boy",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235137665302558/kevin.png"
},
{
name: "Princess Peach",
desc: "Just a quick doodle. Not my final submission. It's the ticket dude.",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235107407331328/image.png"
},
{
name: "Phin",
desc: "I drew Mrs. Tucker because she is very rarely in the show :stuck_out_tongue:",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235151728803850/Ms_tucker.png"
},
{
name: "Gerald",
desc: "Ain't no rest for the wicked",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235141465341952/money_dont_grow_on_trees.png"
},
{
name: "Princess Peach",
desc: "REALITY CHECK",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235230065688587/image.jpg"
},
{
name: "Wonder Tweek",
desc: "South Park: Civil War",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235275280154624/South_Park_Civil_War.png"
},
{
name: "Freeman",
desc: "simply the best",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235219198377994/alle_4_V1.jpg"
},
{
name: "The cool scout",
desc: "Why I don't draw",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235208494252072/20180514_173146.jpg"
},
{
name: "duck",
desc: "cartman being cartman",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235231214796800/cartman_and_his_mad_plans.png"
},
{
name: "pbkid2222",
desc: "One mysterious boi",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235254925197313/image1.jpg"
},
{
name: "Gerald",
desc: "Will sing for money",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235330582183957/week3wip.png"
},
{
name: "TowelRoyale",
desc: "You are tearing me apart, Wendy!",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235284742766602/The_Room.png"
},
{
name: "fighter silvia",
desc: "he鈥檚 the russian tank of a man, the destroyer of druggies, and the bane of capitalism, it鈥檚 the one and only",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235252685701131/image.png"
},
{
name: "Nitr0Sag3 (My warcry is shit)",
desc: "Magic Archer is ready to fight",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235261254664193/IMG_20180516_220955.jpg"
},
{
name: "FoxReed",
desc: "Movie Mashup",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235289691914240/week_3.jpg"
},
{
name: "little red riding kahl",
desc: "my south park oc max",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235213003259908/1526511846235.png"
},
{
name: "SnowiiAnge",
desc: "submitting this for week 3! :^D my OC Joline's fan card for SPPD. version with card and with just the card art",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235281680924673/SPPD_Mystic_card_v2.png"
},
{
name: "Phin",
desc: "Say it loud and clear for everyone to hear!",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235267814293517/kyle.png"
},
{
name: "SparkedFires",
desc: "Insomnia Alley",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235273145253888/Mood_Alley.png"
},
{
name: "Stfu",
desc: "Welcome to South Park!",
file: "https://cdn.discordapp.com/attachments/394504208222650369/453235259366965248/image2.jpg"
}
]
let randall = Math.floor(Math.random() * artall.length);
let randomobject = artall[randall];
message.channel.send(new discord.RichEmbed().setColor(0Xce82ff).setAuthor(randomobject.name).setDescription(randomobject.desc).setImage(randomobject.file));
});

module.exports = artcomp;

1 change: 1 addition & 0 deletions src/bot/commands/assets/placeholder.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
hi
11 changes: 11 additions & 0 deletions src/bot/commands/back.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"use strict"

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!");

});

module.exports = back;
13 changes: 13 additions & 0 deletions src/bot/commands/batman.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"use strict"

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"
});
});

module.exports = batman;

62 changes: 62 additions & 0 deletions src/bot/commands/butters.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
"use strict"

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().setImage(buttersimg[Math.floor(Math.random() * buttersimg.length)]));

});

module.exports = butters;
11 changes: 11 additions & 0 deletions src/bot/commands/coinflip.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"use strict"

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");

});

module.exports = coinflip;
11 changes: 11 additions & 0 deletions src/bot/commands/dam.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"use strict"

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");

});

module.exports = dam;

0 comments on commit c8ae27b

Please sign in to comment.