Skip to content

Commit

Permalink
removing info command
Browse files Browse the repository at this point in the history
  • Loading branch information
HoubkneghteS committed Dec 25, 2017
1 parent 38c5060 commit f80382e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
13 changes: 2 additions & 11 deletions bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -581,12 +581,12 @@ bot.on('message', msg => {
"\navatar [@user] # posts the avatar of that user, or yourself if no user is mentioned" +
"\nfraktur [text] # makes your text into 𝔣𝔯𝔞𝔨𝔱𝔲𝔯" +
"\nbtext [message] # changes all instances of 'b' to the 🅱 emote" +
"\ninfo [pagename] # displays info from that YTP Wiki page" +
"\neflag [country] # displays the flag of a country with emojis" +
"\nvapor [message] # makes your text into a vaportext" +
"\nbattle [army1] [army2] # simulates a battle between two armies```");
//admin help
msg.author.send("```ini\nAdmin = You need the correct role to use them" +
"\nwelcome # decides a channel where the welcome messages shall be posted" +
"\nlang [de/en] # sets the language, currently only for German or English" +
"\nclear [number] # deletes messages" +
"\nprefix [prefix] # changes the bot prefix" +
Expand Down Expand Up @@ -642,11 +642,11 @@ bot.on('message', msg => {
"\natomisiere [Ort] # wirft eine echte Atombombe auf den gegebenen Ort" +
"\nvapor [Nachricht] # macht deine Nachricht zum vaportext" +
"\nbtext [Nachricht] # macht aus allen Bs ein 🅱" +
"\ninfo [Seitenname] # gibt Infos aus einer YTP-Wiki-Seite aus" +
"\navatar [@Nutzer] # postet das Profilbild des erwähnten Benutzers, oder deines, wenn niemand erwähnt wird" +
"\nkampf [Armee1] [Armee2] # simuliert einen Kampf zwischen 2 Armeen```");
//Adminhilfe
msg.author.send("```ini\nAdminbefehle = Man braucht Admin-Berechtigungen, um sie zu verwenden" +
"\nwillkommen # legt einen Kanal fest, wo die Willkommens-Nachrichten gepostet werden sollen" +
"\nsprache [de/en] # wechselt die Sprache zwischen Deutsch und Englisch" +
"\nlösche [Nummer] # löscht Nachrichten" +
"\nprefix [Präfix] # ändert das Bot-Präfix" +
Expand Down Expand Up @@ -685,15 +685,6 @@ bot.on('message', msg => {
msg.channel.send(r.test + rdm(r.quote));
cmdLog("test", msg);
break;
//info (ytp wiki pages)
case "info":
if (arg.length < 2) msg.channel.send(r.infoError);
else {
var query = msg.content.split(" ").slice(1).join("_");
msg.channel.send(r.info + query);
}
cmdLog("info", msg);
break;
//scp command
case "scp":
if (arg.length != 2 || arg[1] > 4000 || arg[1] < 0 || arg[1].length < 3) {
Expand Down
2 changes: 0 additions & 2 deletions de.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
"askError": "Stell mir doch mal ne Frage..",
"y": "Jawohl!",
"n": "Nein..",
"infoError": "Falsch! Richtige Syntax: ``&info [Seitenname]``",
"info": "http://de.youtubepoop.wikia.com/wiki/",
"scpError": "Falsch Richtige Syntax: ``&scp [Nummer 000-4000]``",
"scp": "http://www.scp-wiki.net/scp-",
"server": "Weegeebot-Discordserver: https://discord.gg/HudQcWh",
Expand Down
2 changes: 0 additions & 2 deletions en.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@
"askError": "Ask me a question please..",
"y": "Yes!",
"n": "No..",
"infoError": "Wrong! Correct syntax: ``&info [pagename]``",
"info": "http://youtubepoop.wikia.com/wiki/",
"scpError": "Wrong! Correct syntax: ``&scp [number 000-4000]``",
"scp": "http://www.scp-wiki.net/scp-",
"server": "Weegeebot Discord Server: https://discord.gg/HudQcWh",
Expand Down

0 comments on commit f80382e

Please sign in to comment.