diff --git a/.gitignore b/.gitignore index 5534146..77e62ce 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,5 @@ plugins/youtube_playlist.lua plugins/yandere.lua plugins/e621.lua plugins/ponyfaces.lua -plugins/rss_old.lua \ No newline at end of file +plugins/rss_old.lua +plugins/gfycat.lua \ No newline at end of file diff --git a/plugins/nau.lua b/plugins/nau.lua deleted file mode 100644 index 7fc0a01..0000000 --- a/plugins/nau.lua +++ /dev/null @@ -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] \ No newline at end of file diff --git a/plugins/neorame.lua b/plugins/neorame.lua deleted file mode 100644 index 75edb1f..0000000 --- a/plugins/neorame.lua +++ /dev/null @@ -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] \ No newline at end of file diff --git a/plugins/niissan.lua b/plugins/niissan.lua deleted file mode 100644 index 7bd1430..0000000 --- a/plugins/niissan.lua +++ /dev/null @@ -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] \ No newline at end of file diff --git a/plugins/nope.avi.lua b/plugins/nope.avi.lua deleted file mode 100644 index 8f8980f..0000000 --- a/plugins/nope.avi.lua +++ /dev/null @@ -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] \ No newline at end of file diff --git a/plugins/nyu.lua b/plugins/nyu.lua deleted file mode 100644 index e8f3b57..0000000 --- a/plugins/nyu.lua +++ /dev/null @@ -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] \ No newline at end of file diff --git a/plugins/old.lua b/plugins/old.lua deleted file mode 100644 index f878809..0000000 --- a/plugins/old.lua +++ /dev/null @@ -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] \ No newline at end of file diff --git a/plugins/rich_bitch.lua b/plugins/rich_bitch.lua deleted file mode 100644 index 88e2cd1..0000000 --- a/plugins/rich_bitch.lua +++ /dev/null @@ -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] \ No newline at end of file diff --git a/plugins/special.lua b/plugins/special.lua new file mode 100644 index 0000000..a66b501 --- /dev/null +++ b/plugins/special.lua @@ -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] \ No newline at end of file