Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Discord = require("discord.js");
- var mybot = new Discord.Client();
- var commands = {};
- commands["!test"] = "Great succes!";
- commands["!ping"] = "Nu moet ik zeker pong zeggen?";
- commands["!pong"] = "Nee zo werkt dat niet";
- commands["!Hallo"] = "Gegroet heer!";
- commands["kanker bot"] = "Emotionele_status_Depressie = 1";
- commands["!help"] = "LOL nee XDDDD ROFL";
- commands["!broodje warm vlees"] = "https://i.imgflip.com/14tnfn.jpg";
- commands["!time"] = "http://i.imgur.com/AMVeTMQ.png";
- commands["!duel"] = "http://i.imgur.com/7VaA4Bh.jpg";
- mybot.on("message", function(message){
- if(message == "!poep"){
- var list = "";
- for(var i = 0; i < commands.length; i++){
- list += commands[i];
- if(i - 1 < commands.length)
- list += ", ";
- }
- }else{
- if(commands[message] != null)
- mybot.sendMessage(message, "" + commands[message]);
- }
- });
- mybot.login("stijntromp@upcmail.nl", "appelsap123");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement