Merged some plugins

This commit is contained in:
Akamaru 2015-06-16 21:42:51 +02:00
parent 77fadb1806
commit d27a686e09
9 changed files with 39 additions and 79 deletions

3
.gitignore vendored
View File

@ -35,4 +35,5 @@ plugins/youtube_playlist.lua
plugins/yandere.lua plugins/yandere.lua
plugins/e621.lua plugins/e621.lua
plugins/ponyfaces.lua plugins/ponyfaces.lua
plugins/rss_old.lua plugins/rss_old.lua
plugins/gfycat.lua

View File

@ -1,11 +0,0 @@
function run(msg, matches)
send_photo(get_receiver(msg), "pictures/nau.jpg", ok_cb, false)
end
return {
description = "RTL Nau",
usage = {"/nau","/now"},
patterns = {"^/nau$","^/now$"},
run = run
}
--by Akamaru [https://ponywave.de]

View File

@ -1,11 +0,0 @@
function run(msg, matches)
send_photo(get_receiver(msg), "pictures/neorame.jpg", ok_cb, false)
end
return {
description = "NeoRame is best pony!",
usage = {"/neorame"},
patterns = {"^/neorame"},
run = run
}
--by Akamaru [https://ponywave.de]

View File

@ -1,11 +0,0 @@
function run(msg, matches)
send_photo(get_receiver(msg), "pictures/Nii-san.jpg", ok_cb, false)
end
return {
description = "Nii-san <3",
usage = {"nii-san","Nii-san","nissan","Nissan"},
patterns = {"^nii-san$","^Nii-san$","^nissan$","^Nissan$"},
run = run
}
--by Akamaru [https://ponywave.de]

View File

@ -1,12 +0,0 @@
function run(msg, matches)
send_video(get_receiver(msg), "videos/nope.avi", ok_cb, false)
return 'Video wird gesendet...'
end
return {
description = 'Sendet ein Video namens "nope.avi"',
usage = {"nope.avi"},
patterns = {"^nope.avi"},
run = run
}
--by Akamaru [https://ponywave.de]

View File

@ -1,11 +0,0 @@
function run(msg, matches)
send_photo(get_receiver(msg), "pictures/nyu.jpg", ok_cb, false)
end
return {
description = "Nyu?",
usage = {"nyu"},
patterns = {"^[N|n][Y|y][U|u]$"},
run = run
}
--by Akamaru [https://ponywave.de]

View File

@ -1,11 +0,0 @@
function run(msg, matches)
return 'Deine Mudda is old!'
end
return {
description = "",
usage = {"#old"},
patterns = {"^#old$","^.#old$"},
run = run
}
--by Akamaru [https://ponywave.de]

View File

@ -1,11 +0,0 @@
function run(msg, matches)
return 'Akamaru ist nicht reich!'
end
return {
description = "Sagt euch dass Akamaru nicht reich ist",
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 [https://ponywave.de]

37
plugins/special.lua Normal file
View File

@ -0,0 +1,37 @@
-- Dirty code is dirty code, but idc
-- later: yolo, aha.png, baka_bot, barusamikosu, frosch, moepse
function run(msg, matches)
if string.match(msg.text, "^[R|r][I|i][C|c][H|h] [B|b][I|i][T|t][C|c][H|h]$") then
return 'Akamaru ist nicht reich!'
elseif string.match(msg.text, "^#[O|o][L|l][D|d]$") then
return 'Deine Mudda is old!'
elseif string.match(msg.text, "^[N|n][Y|y][U|u]$") then
send_photo(get_receiver(msg), "pictures/nyu.jpg", ok_cb, false)
elseif string.match(msg.text, "^[N|n][O|o][P|p][E|e].[A|a][V|v][I|i]$") then
send_video(get_receiver(msg), "videos/nope.avi", ok_cb, false)
return 'Video wird gesendet...'
elseif string.match(msg.text, "^[N|n][I|i][I|i][S|s][A|a][N|n]$") or string.match(msg.text, "^[N|n][I|i][I|i](-)[S|s][A|a][N|n]$") or string.match(msg.text, "^[N|n][I|i][S|s][S|s][A|a][N|n]$") then
send_photo(get_receiver(msg), "pictures/Nii-san.jpg", ok_cb, false)
elseif string.match(msg.text, "^/[N|n][E|e][O|o][R|r][A|a][M|m][E|e]$") then
send_photo(get_receiver(msg), "pictures/neorame.jpg", ok_cb, false)
elseif string.match(msg.text, "^/[N|n][A|a][U|u]$") then
send_photo(get_receiver(msg), "pictures/nau.jpg", ok_cb, false)
end
end
return {
description = "",
usage = {""},
patterns = {"^[R|r][I|i][C|c][H|h] [B|b][I|i][T|t][C|c][H|h]$",
"^#[O|o][L|l][D|d]$",
"^[N|n][Y|y][U|u]$",
"^[N|n][O|o][P|p][E|e].[A|a][V|v][I|i]$",
"^[N|n][I|i][I|i][S|s][A|a][N|n]$",
"^[N|n][I|i][I|i](-)[S|s][A|a][N|n]$",
"^[N|n][I|i][S|s][S|s][A|a][N|n]$",
"^/[N|n][E|e][O|o][R|r][A|a][M|m][E|e]$",
"^/[N|n][A|a][U|u]$"
},
run = run
}
--by Akamaru [https://ponywave.de]