updated usage and patterns
This commit is contained in:
parent
b18d2c6197
commit
5d55b9a1a2
@ -31,7 +31,7 @@ end
|
||||
|
||||
return {
|
||||
description = "9GAG",
|
||||
usage = "/9gag",
|
||||
usage = {"/9gag"},
|
||||
patterns = {"^/9gag$"},
|
||||
run = run
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Sagt dass ihr afk seid",
|
||||
usage = "/afk",
|
||||
usage = {"/afk"},
|
||||
patterns = {"^/afk(.*)$"},
|
||||
run = run
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
function run(msg, matches)
|
||||
send_photo(get_receiver(msg), "pictures/aha.png", ok_cb, false)
|
||||
send_photo(get_receiver(msg), "pictures/aha.png", ok_cb, false)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Aha",
|
||||
usage = "aha.png",
|
||||
usage = {"aha.png"},
|
||||
patterns = {"^aha.png"},
|
||||
run = run
|
||||
}
|
||||
|
@ -1,16 +1,13 @@
|
||||
|
||||
function run(msg, matches)
|
||||
return "Gomen'nasai 😣"
|
||||
local user_name = get_name(msg)
|
||||
return "Gomen'nasai "..user_name.."-sempai 😣"
|
||||
end
|
||||
|
||||
return {
|
||||
description = "So ein dummer Bot",
|
||||
usage = "Baka Bot",
|
||||
patterns = {"^baka bot",
|
||||
"Baka bot",
|
||||
"baka Bot",
|
||||
"Baka Bot",
|
||||
"BAKA BOT"},
|
||||
usage = {"Baka Bot","baka bot","Baka bot","baka Bot","BAKA BOT"},
|
||||
patterns = {"baka bot","Baka bot","baka Bot","Baka Bot","BAKA BOT"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -4,10 +4,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Balsamiko Essig!",
|
||||
usage = "/barusamiko",
|
||||
patterns = {"^/barusamiko",
|
||||
"^/barusamikosu",
|
||||
"^/Balsamiko Essig"},
|
||||
usage = {"/barusamiko","/barusamikosu","/Balsamiko Essig"},
|
||||
patterns = {"^/barusamiko","^/barusamikosu","^/Balsamiko Essig"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -17,7 +17,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Checkt ob Boerse.to online ist",
|
||||
usage = "",
|
||||
usage = {"Hierfür gibt es kein Befehl"},
|
||||
patterns = {},
|
||||
run = nil,
|
||||
cron = cron
|
||||
|
@ -59,14 +59,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet ein zufälliges Boobs/Butts Bild",
|
||||
usage = {
|
||||
"/boobs",
|
||||
"/butts"
|
||||
},
|
||||
patterns = {
|
||||
"^/boobs$",
|
||||
"^/butts$"
|
||||
},
|
||||
usage = {"/boobs","/butts"},
|
||||
patterns = {"^/boobs$","^/butts$"},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
@ -68,10 +68,8 @@ end
|
||||
|
||||
return {
|
||||
description = "",
|
||||
usage = {""},
|
||||
patterns = {
|
||||
"^/channel? (enable)",
|
||||
"^/channel? (disable)" },
|
||||
usage = {"Das kann nur Akamaru"},
|
||||
patterns = {"^/channel? (enable)","^/channel? (disable)" },
|
||||
run = run,
|
||||
privileged = true,
|
||||
pre_process = pre_process
|
||||
|
@ -7,7 +7,7 @@ end
|
||||
function run(msg, matches)
|
||||
local j = getChuckNorris()
|
||||
if (j == nil) then
|
||||
return "Zzzzz..."
|
||||
return "Huch, da lief was falsch!"
|
||||
else
|
||||
return j
|
||||
end
|
||||
@ -15,7 +15,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet Chuck Norris Witze (Englisch)",
|
||||
usage = "/cn",
|
||||
usage = {"/cn"},
|
||||
patterns = {"^/cn$"},
|
||||
run = run
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
|
||||
do
|
||||
|
||||
|
||||
@ -24,21 +23,16 @@ function run(msg, matches)
|
||||
local receiver = get_receiver(msg)
|
||||
send_photo_from_url(receiver, url)
|
||||
else
|
||||
return 'Error getting dicks for you, please try again later.'
|
||||
return 'Huch, da lief was falsch.'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
return {
|
||||
description = "Gets a random dicks pic",
|
||||
usage = {
|
||||
"/dicks: Get a dicks NSFW image. 🔞"
|
||||
},
|
||||
patterns = {
|
||||
"^/dicks$"
|
||||
},
|
||||
description = "Das dümmste Plugin ever [NSFW]",
|
||||
usage = {"/dicks"},
|
||||
patterns = {"^/dicks$"},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
||||
end
|
||||
end
|
@ -5,7 +5,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Wiederholt euch",
|
||||
usage = "/echo [Satz]",
|
||||
patterns = {"^/echo (.*)$"},
|
||||
usage = {"/echo [Satz]","/Echo [Satz]"},
|
||||
patterns = {"^/echo (.*)$","^/Echo (.*)$"},
|
||||
run = run
|
||||
}
|
||||
|
@ -5,9 +5,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet alle Emoticons",
|
||||
usage = "/emoticons",
|
||||
patterns = {"^/emoticons",
|
||||
"^/Emoticons"},
|
||||
usage = {"/emoticons","/Emoticons"},
|
||||
patterns = {"^/emoticons","^/Emoticons"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -3,10 +3,9 @@ function run(msg, matches)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Facepalm",
|
||||
usage = "/facepalm",
|
||||
patterns = {"^/facepalm",
|
||||
"^/Facepalm"},
|
||||
description = "Sendet ein Facepalm-Sticker",
|
||||
usage = {"/facepalm","/Facepalm"},
|
||||
patterns = {"^/facepalm","^/Facepalm"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -70,16 +70,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Sucht und sendet ein GIF von Giphy",
|
||||
usage = {
|
||||
"/gif (Begriff)",
|
||||
"/giphy (Begriff)"
|
||||
},
|
||||
patterns = {
|
||||
"^/gif$",
|
||||
"^/gif (.*)",
|
||||
"^/giphy (.*)",
|
||||
"^/giphy$"
|
||||
},
|
||||
usage = {"/gif [Begriff]","/giphy [Begriff]"},
|
||||
patterns = {"^/gif$","^/gif (.*)","^/giphy (.*)","^/giphy$"},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
@ -32,10 +32,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Durchsucht Google und sendet die ersten 5 Ergebnisse",
|
||||
usage = "/google [Begriff]",
|
||||
patterns = {
|
||||
"^/google (.*)$",
|
||||
"^%.[g|G]oogle (.*)$"
|
||||
},
|
||||
usage = {"/google [Begriff]","/Google [Begriff]"},
|
||||
patterns = {"^/google (.*)$","^/Google (.*)$"},
|
||||
run = run
|
||||
}
|
||||
|
@ -5,12 +5,9 @@ function run(msg, matches)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Sagt hallo zu euch",
|
||||
usage = "hallo",
|
||||
patterns = {
|
||||
"^Hallo(.*)$",
|
||||
"^hallo(.*)$"
|
||||
},
|
||||
run = run
|
||||
description = "Miku sagt Hallo zu euch",
|
||||
usage = {"Hallo","hallo"},
|
||||
patterns = {"^Hallo$","^hallo$"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -19,8 +19,8 @@ end
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Sendet eins von 4 Katzenbilder",
|
||||
usage = "/hdf",
|
||||
description = "Einfach mal die Fresse halten!",
|
||||
usage = {"/hdf"},
|
||||
patterns = {"^/hdf"},
|
||||
run = run
|
||||
}
|
||||
|
@ -61,13 +61,9 @@ local function run(msg, matches)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "",
|
||||
usage = {""},
|
||||
patterns = {
|
||||
"^/hilfe$",
|
||||
"^/hilfe all",
|
||||
"^/hilfe (.+)"
|
||||
},
|
||||
description = "Zeigt die Plugins und Befehle",
|
||||
usage = {"/hilfe","/hilfe all","/hilfe [Plugin]"},
|
||||
patterns = {"^/hilfe$","^/hilfe all","^/hilfe (.+)"},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
@ -8,12 +8,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Wenn ein Link zu einem Bild gesendet wird, läd und sendet der Bot das Bild.",
|
||||
usage = "Link zum Bild",
|
||||
patterns = {
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.png)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.jpg)$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.jpeg)$",
|
||||
},
|
||||
usage = {"Link zum Bild"},
|
||||
patterns = {"(https?://[%w-_%.%?%.:/%+=&]+%.png)$","(https?://[%w-_%.%?%.:/%+=&]+%.jpg)$","(https?://[%w-_%.%?%.:/%+=&]+%.jpeg)$",},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Sucht Bild mit Google-API und versendet es (SafeSearch aktiv)",
|
||||
usage = "/img [Suchbegriff]",
|
||||
usage = {"/img [Suchbegriff]"},
|
||||
patterns = {"^/img (.*)$"},
|
||||
run = run
|
||||
}
|
||||
|
@ -41,10 +41,9 @@ function run(msg, matches)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Sucht Bild mit Google-API und versendet es (SafeSearch aktiv)",
|
||||
usage = "/img2 [Suchbegriff]",
|
||||
patterns = {"^/img2 (.*)$",
|
||||
"^/nsfwimg (.*)$"},
|
||||
description = "Sucht Bild mit Google-API und versendet es [NSFW]",
|
||||
usage = {"/img2 [Suchbegriff]","/nsfwimg [Suchbegriff]"},
|
||||
patterns = {"^/img2 (.*)$","^/nsfwimg (.*)$"},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet eins von 6 Just Kitten Bilder",
|
||||
usage = "/jk",
|
||||
usage = {"/jk"},
|
||||
patterns = {"^/jk"},
|
||||
run = run
|
||||
}
|
||||
|
@ -13,12 +13,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet eins von 4 Katzenbilder",
|
||||
usage = "/kitty",
|
||||
patterns = {"^/kitty",
|
||||
"^/katze",
|
||||
"^/cat",
|
||||
"^/neko",
|
||||
"^/kadse"},
|
||||
usage = {"/kitty","/katze","/cat","/neko","/kadse"},
|
||||
patterns = {"^/kitty$","^/katze$","^/cat$","^/neko$","^/kadse$"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -19,15 +19,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet ein Bild von den Lucky Star Chars",
|
||||
usage = "/kagami, /konata, /tsukasa oder /miyuki",
|
||||
patterns = {"^/kagami",
|
||||
"^/Kagami",
|
||||
"^/konata",
|
||||
"^/Konata",
|
||||
"^/miyuki",
|
||||
"^/Miyuki",
|
||||
"^/tsukasa",
|
||||
"^/Tsukasa"},
|
||||
usage = {"/Kagami","/kagami","/Konata","/konata","/Tsukasa","/tsukasa","/Miyuki","/miyuki"},
|
||||
patterns = {"^/kagami$","^/Kagami$","^/konata$","^/Konata$","^/miyuki$","^/Miyuki$","^/tsukasa$","^/Tsukasa$"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -39,7 +39,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Liedertext bekommen",
|
||||
usage = "/lyrics [Lied]",
|
||||
usage = {"/lyrics [Lied]"},
|
||||
patterns = {"^/lyrics (.*)$"},
|
||||
run = run
|
||||
}
|
||||
|
@ -8,13 +8,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Beantwortet euch eine Frage (100% Wahrheit!)",
|
||||
usage = "Magische Miesmuschel [Frage]",
|
||||
patterns = {
|
||||
"^Magische Miesmuschel(.*)$",
|
||||
"^magische Miesmuschel(.*)$",
|
||||
"^Magische miesmuschel(.*)$",
|
||||
"^magische miesmuschel(.*)$"
|
||||
},
|
||||
usage = {"Magische Miesmuschel [Frage]","magische Miesmuschel [Frage]","Magische miesmuschel [Frage]","magische miesmuschel [Frage]"},
|
||||
patterns = {"^Magische Miesmuschel(.*)$","^magische Miesmuschel(.*)$","^Magische miesmuschel(.*)$","^magische miesmuschel(.*)$"},
|
||||
run = run
|
||||
}
|
||||
end
|
||||
|
@ -39,7 +39,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Wenn ein User eine Medien-Datei sendet (gif, mp4, pdf, etc.), wird es gedownloadet und gesendet.",
|
||||
usage = "",
|
||||
usage = {"Irgendeine Datei"},
|
||||
patterns = {
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.(gif))$",
|
||||
"(https?://[%w-_%.%?%.:/%+=&]+%.(mp4))$",
|
||||
|
@ -32,8 +32,8 @@ local function pre_process(msg)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "When bot receives a media msg, download the media.",
|
||||
usage = "",
|
||||
description = "Wenn eine Datei gesendet wird, läd Mikubot sie runter.",
|
||||
usage = {"Irgendeine Datei"},
|
||||
run = run,
|
||||
patterns = {
|
||||
'%[(document)%]',
|
||||
|
@ -5,11 +5,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Möpse? Meepse?",
|
||||
usage = "möp oder meep",
|
||||
patterns = {"^möp",
|
||||
"Möp",
|
||||
"meep",
|
||||
"Meep"},
|
||||
usage = {"möp","Möp","meep","Meep"},
|
||||
patterns = {"^möp","Möp","meep","Meep"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -4,7 +4,7 @@ end
|
||||
|
||||
return {
|
||||
description = 'Zeigt deine Telegram ID',
|
||||
usage = '/myid',
|
||||
usage = {"/myid"},
|
||||
patterns = {'^/myid$'},
|
||||
run = run
|
||||
}
|
||||
|
@ -4,9 +4,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Naira Derp",
|
||||
usage = "/nairad",
|
||||
patterns = {"^/nairad",
|
||||
"^/Nairad"},
|
||||
usage = {"/nairad","/Nairad"},
|
||||
patterns = {"^/nairad","^/Nairad"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -4,7 +4,7 @@ end
|
||||
|
||||
return {
|
||||
description = "RTL Nau",
|
||||
usage = "/nau",
|
||||
usage = {"/nau"},
|
||||
patterns = {"^/nau"},
|
||||
run = run
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ end
|
||||
|
||||
return {
|
||||
description = "NeoRame is best pony!",
|
||||
usage = "/neorame",
|
||||
usage = {"/neorame"},
|
||||
patterns = {"^/neorame"},
|
||||
run = run
|
||||
}
|
||||
|
@ -4,11 +4,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Nii-san <3",
|
||||
usage = "nii-san, Nii-san, nissan oder Nissan",
|
||||
patterns = {"^nii-san",
|
||||
"^Nii-san",
|
||||
"^nissan",
|
||||
"^Nissan"},
|
||||
usage = {"nii-san","Nii-san","nissan","Nissan"},
|
||||
patterns = {"^nii-san","^Nii-san","^nissan","^Nissan"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -1,11 +1,12 @@
|
||||
|
||||
function run(msg, matches)
|
||||
return 'https://www.youtube.com/watch?v=gvdf5n-zI14'
|
||||
send_video(get_receiver(msg), "videos/nope.avi", ok_cb, false)
|
||||
return 'Video wird gesendet...'
|
||||
end
|
||||
|
||||
return {
|
||||
description = 'Sendet ein YouTube Video namens "nope.avi"',
|
||||
usage = "nope.avi",
|
||||
description = 'Sendet ein Video namens "nope.avi"',
|
||||
usage = {"nope.avi"},
|
||||
patterns = {"^nope.avi"},
|
||||
run = run
|
||||
}
|
||||
|
@ -4,9 +4,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Nyu?",
|
||||
usage = "nyu",
|
||||
patterns = {"^nyu",
|
||||
"^Nyu"},
|
||||
usage = {"nyu","Nyu"},
|
||||
patterns = {"^nyu","^Nyu"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -162,15 +162,9 @@ local function run(msg, matches)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "",
|
||||
usage = { "" },
|
||||
patterns = {
|
||||
"^/plugins$",
|
||||
"^/plugins? (enable) ([%w_%.%-]+)$",
|
||||
"^/plugins? (disable) ([%w_%.%-]+)$",
|
||||
"^/plugins? (enable) ([%w_%.%-]+) (chat)",
|
||||
"^/plugins? (disable) ([%w_%.%-]+) (chat)",
|
||||
"^/plugins? (reload)$" },
|
||||
description = "Plugin Verwaltung",
|
||||
usage = { "Das kann nur Akamaru" },
|
||||
patterns = {"^/plugins$","^/plugins? (enable) ([%w_%.%-]+)$","^/plugins? (disable) ([%w_%.%-]+)$","^/plugins? (enable) ([%w_%.%-]+) (chat)","^/plugins? (disable) ([%w_%.%-]+) (chat)","^/plugins? (reload)$" },
|
||||
run = run,
|
||||
privileged = true
|
||||
}
|
||||
|
@ -42,8 +42,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet ein PornHub Video",
|
||||
usage = "/pornhub",
|
||||
patterns = {"^/pornhub (.*)$",
|
||||
"^/ph (.*)$"},
|
||||
usage = {"/pornhub [Suchwort]","/ph [Suchwort]"},
|
||||
patterns = {"^/pornhub (.*)$","^/ph (.*)$"},
|
||||
run = run
|
||||
}
|
@ -6,7 +6,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Ein simpler Taschenrechner",
|
||||
usage = "/calc [Rechnung]",
|
||||
usage = {"/calc [Rechnung]"},
|
||||
patterns = {"^/calc (.*)$"},
|
||||
run = run
|
||||
}
|
@ -5,12 +5,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Sagt euch dass Akamaru nicht reich ist",
|
||||
usage = "rich bitch",
|
||||
patterns = {"^Rich Bitch",
|
||||
"^rich bitch",
|
||||
"^rich Bitch",
|
||||
"^Rich bitch",
|
||||
"^RICH BITCH"},
|
||||
usage = {"Rich Bitch","rich bitch","rich Bitch","Rich bitch","RICH BITCH"},
|
||||
patterns = {"^Rich Bitch","^rich bitch","^rich Bitch","^Rich bitch","^RICH BITCH"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -30,22 +30,9 @@ function run(msg, matches)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "",
|
||||
usage = "",
|
||||
patterns = {"^/shiina",
|
||||
"^/Shiina",
|
||||
"^/chihiro",
|
||||
"^/Chihiro",
|
||||
"^/jin",
|
||||
"^/Jin",
|
||||
"^/misaki",
|
||||
"^/Misaki",
|
||||
"^/nanami",
|
||||
"^/Nanami",
|
||||
"^/ryuunosuke",
|
||||
"^/Ryuunosuke",
|
||||
"^/sorata",
|
||||
"^/Sorata"},
|
||||
description = "Sendet euch ein Char aus Sakurasou no Pet na Kanojo",
|
||||
usage = {"/shiina","/Shiina","/chihiro","/Chihiro","/jin","/Jin","/misaki","/Misaki","/nanami","/Nanami","/ryuunosuke","/Ryuunosuke","/sorata","/Sorata"},
|
||||
patterns = {"^/shiina","^/Shiina","^/chihiro","^/Chihiro","^/jin","^/Jin","^/misaki","^/Misaki","^/nanami","^/Nanami","^/ryuunosuke","^/Ryuunosuke","^/sorata","^/Sorata"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -39,11 +39,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Sucht YouTube-Video und sendet es",
|
||||
usage = "/youtube [Suchbegriff]",
|
||||
patterns = {
|
||||
"^/youtube",
|
||||
"^/yt"
|
||||
},
|
||||
usage = {"/youtube [Suchbegriff]","/yt [Suchbegriff]"},
|
||||
patterns = {"^/youtube","^/yt"},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
@ -42,28 +42,9 @@ function run(msg, matches)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "",
|
||||
usage = "",
|
||||
patterns = {"^/asuka",
|
||||
"^/Asuka",
|
||||
"^/hibari",
|
||||
"^/Hibari",
|
||||
"^/ikaruga",
|
||||
"^/Ikaruga",
|
||||
"^/katsuragi",
|
||||
"^/Katsuragi",
|
||||
"^/yagyuu",
|
||||
"^/Yagyuu",
|
||||
"^/haruka",
|
||||
"^/Haruka",
|
||||
"^/hikage",
|
||||
"^/Hikage",
|
||||
"^/homura",
|
||||
"^/Homura",
|
||||
"^/mirai",
|
||||
"^/Mirai",
|
||||
"^/yomi",
|
||||
"^/Yomi"},
|
||||
description = "Sendet euch ein Senran Kagura Char",
|
||||
usage = {"/asuka","/Asuka","/hibari","/Hibari","/ikaruga","/Ikaruga","/katsuragi","/Katsuragi","/yagyuu","/Yagyuu","/haruka","/Haruka","/hikage","/Hikage","/homura","/Homura","/mirai","/Mirai","/yomi","/Yomi"},
|
||||
patterns = {"^/asuka","^/Asuka","^/hibari","^/Hibari","^/ikaruga","^/Ikaruga","^/katsuragi","^/Katsuragi","^/yagyuu","^/Yagyuu","^/haruka","^/Haruka","^/hikage","^/Hikage","^/homura","^/Homura","^/mirai","^/Mirai","^/yomi","^/Yomi"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru
|
@ -32,7 +32,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Führt Befehle in der Konsole aus",
|
||||
usage = "",
|
||||
usage = {"Das kann nur Akamaru"},
|
||||
patterns = {"^/uptime", "^/sh (.*)$"},
|
||||
run = run,
|
||||
privileged = true
|
||||
|
@ -105,12 +105,9 @@ end
|
||||
_stats = read_file_stats()
|
||||
|
||||
return {
|
||||
description = "",
|
||||
usage = "",
|
||||
patterns = {
|
||||
"^/(stats)",
|
||||
".*"
|
||||
},
|
||||
description = "Zeigt wieviel ihr spamt",
|
||||
usage = {"/stats"},
|
||||
patterns = {"^/(stats)",},
|
||||
run = run,
|
||||
cron = save_stats
|
||||
}
|
||||
|
@ -68,10 +68,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Grabs Steam info for Steam links.",
|
||||
usage = "",
|
||||
patterns = {
|
||||
"http://store.steampowered.com/app/([0-9]+)",
|
||||
},
|
||||
usage = {"store.steampowered.com Link"},
|
||||
patterns = {"http://store.steampowered.com/app/([0-9]+)",},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
@ -12,11 +12,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Es ist so still hier",
|
||||
usage = "stille",
|
||||
patterns = {"^Stille",
|
||||
"^stille",
|
||||
"^*stille*",
|
||||
"^*Stille*"},
|
||||
usage = {"Stille","stille","*stille*","*Stille*"},
|
||||
patterns = {"^Stille","^stille","^*stille*","^*Stille*"},
|
||||
run = run
|
||||
}
|
||||
end
|
||||
|
@ -67,12 +67,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Übersetze Text",
|
||||
usage = "/translate [Text]",
|
||||
patterns = {
|
||||
"^/translate ([%w]+),([%a]+) (.+)",
|
||||
"^/translate ([%w]+) (.+)",
|
||||
"^/translate (.+)",
|
||||
},
|
||||
usage = {"/translate [Text]"},
|
||||
patterns = {"^/translate ([%w]+),([%a]+) (.+)","^/translate ([%w]+) (.+)","^/translate (.+)",},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Zeigt eine Urban Dictionary Definition",
|
||||
usage = "/ud [topic]",
|
||||
usage = {"/ud [Begriff]"},
|
||||
patterns = {"^/ud (.*)$"},
|
||||
run = run
|
||||
}
|
@ -28,7 +28,7 @@ function run(msg, matches)
|
||||
local title = getTitle(result)
|
||||
|
||||
--Ignoring 301, 302, 404 and more
|
||||
if title == "301 Moved Permanently" or
|
||||
if title == "301 Moved Permanently" or
|
||||
title == "" or
|
||||
title == "404 Not Found" or
|
||||
title == "302 Found" or
|
||||
@ -38,7 +38,7 @@ function run(msg, matches)
|
||||
string.match(title, "deviantArt") or
|
||||
string.match(title, "twitch") or
|
||||
string.match(title, "eBay</title>") or
|
||||
string.match(title, "Twitch</title>") then
|
||||
string.match(title, "Twitch") then
|
||||
print('Invalide, da "'..title..'"')
|
||||
else
|
||||
return title
|
||||
@ -47,7 +47,7 @@ function run(msg, matches)
|
||||
|
||||
return {
|
||||
description = "Postet URL-Titel",
|
||||
usage = "Irgendein Link",
|
||||
usage = {"Irgendein Link"},
|
||||
patterns = {"^(https?://[%w-_%.%?%.:,/%+=&]+)$",},
|
||||
run = run
|
||||
}
|
||||
|
@ -6,10 +6,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Zeigt die Bot Version",
|
||||
usage = "/version",
|
||||
patterns = {
|
||||
"^/version$"
|
||||
},
|
||||
usage = {"/version","/v"},
|
||||
patterns = {"^/version$","^/v$"},
|
||||
run = run
|
||||
}
|
||||
end
|
||||
|
@ -33,7 +33,7 @@ function run(msg, matches)
|
||||
local url = getWallpaper(text)
|
||||
|
||||
if not url then
|
||||
return "Kein Bild gefunden."
|
||||
return "Kein Wallpaper gefunden."
|
||||
end
|
||||
|
||||
print("Bilder-URL: ", url)
|
||||
@ -42,9 +42,10 @@ function run(msg, matches)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Sucht Bild mit Google-API und versendet es (SafeSearch aktiv)",
|
||||
usage = "/wallpaper [Suchbegriff]",
|
||||
description = "Sucht Wallpaper mit Google und versendet es (SafeSearch aktiv)",
|
||||
usage = {"/wallpaper [Suchbegriff]","/wp [Suchbegriff]"},
|
||||
patterns = {"^/wallpaper (.*)$","^/wp (.*)$"},
|
||||
run = run
|
||||
}
|
||||
end
|
||||
-- Original by yagop ; Modified by Akamaru
|
@ -1,4 +1,3 @@
|
||||
|
||||
do
|
||||
|
||||
function getWallpaper2(text)
|
||||
@ -33,7 +32,7 @@ function run(msg, matches)
|
||||
local url = getWallpaper2(text)
|
||||
|
||||
if not url then
|
||||
return "Kein Bild gefunden."
|
||||
return "Kein Wallpaper gefunden."
|
||||
end
|
||||
|
||||
print("Bilder-URL: ", url)
|
||||
@ -42,9 +41,10 @@ function run(msg, matches)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Sucht Bild mit Google-API und versendet es",
|
||||
usage = "/wallpaper2 [Suchbegriff]",
|
||||
description = "Sucht Wallpaper mit Google und versendet es [NSFW]",
|
||||
usage = {"/wallpaper2 [Suchbegriff]","/wp2 [Suchbegriff]"},
|
||||
patterns = {"^/wallpaper2 (.*)$","^/wp2 (.*)$"},
|
||||
run = run
|
||||
}
|
||||
end
|
||||
-- Original by yagop ; Modified by Akamaru
|
@ -5,7 +5,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Sagt dass ihr wieder da seid",
|
||||
usage = "/wd",
|
||||
usage = {"/wd"},
|
||||
patterns = {"^/wd(.*)$"},
|
||||
run = run
|
||||
}
|
||||
|
@ -60,11 +60,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet einen Wikipedia-Artikel",
|
||||
usage = "/wiki Suchwort",
|
||||
patterns = {
|
||||
"^/wiki (.*)$",
|
||||
"^%.[w|W]iki (.*)$",
|
||||
"de.wikipedia.org/wiki/([A-Za-z0-9-_-]+)"
|
||||
},
|
||||
usage = {"/wiki [Suchwort]","de.wikipedia.org Link"},
|
||||
patterns = {"^/wiki (.*)$","^%.[w|W]iki (.*)$","de.wikipedia.org/wiki/([A-Za-z0-9-_-]+)"},
|
||||
run = run
|
||||
}
|
@ -7,7 +7,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Würfel eine Zahl zwischen 1 bis 6",
|
||||
usage = "/würfel",
|
||||
usage = {"/würfel"},
|
||||
patterns = {"^/würfel"},
|
||||
run = run
|
||||
}
|
||||
|
@ -47,11 +47,7 @@ end
|
||||
return {
|
||||
description = "Sendet Comics von xkcd",
|
||||
usage = {"/xkcd"},
|
||||
patterns = {
|
||||
"^/xkcd$",
|
||||
"^/xkcd (%d+)",
|
||||
"xkcd.com/(%d+)"
|
||||
},
|
||||
patterns = {"^/xkcd$","^/xkcd (%d+)","xkcd.com/(%d+)"},
|
||||
run = run
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet euch ein Hä YOLO?",
|
||||
usage = "/yolo",
|
||||
usage = {"/yolo"},
|
||||
patterns = {"^/yolo"},
|
||||
run = run
|
||||
}
|
||||
|
@ -42,8 +42,7 @@ end
|
||||
|
||||
return {
|
||||
description = "Sendet ein YouPorn Video",
|
||||
usage = "/youporn",
|
||||
patterns = {"^/youporn (.*)$",
|
||||
"^/yp (.*)$"},
|
||||
usage = {"/youporn","/yp"},
|
||||
patterns = {"^/youporn (.*)$","^/yp (.*)$"},
|
||||
run = run
|
||||
}
|
Reference in New Issue
Block a user