]> git.lizzy.rs Git - furrybot.git/commitdiff
Add video command
authorElias Fleckenstein <eliasfleckenstein@web.de>
Mon, 13 Sep 2021 15:18:06 +0000 (17:18 +0200)
committerElias Fleckenstein <eliasfleckenstein@web.de>
Mon, 13 Sep 2021 15:18:06 +0000 (17:18 +0200)
random.lua

index 514fec892da382ba5ceef8829e1d51ed072ade6a..8b0345fc4b731d6c3e123f200eb41a20d39decd6 100644 (file)
@@ -104,6 +104,10 @@ function furrybot.commands.book(name)
        furrybot.ping_message(name, books[math.random(#books)], furrybot.colors.system)
 end
 
+function furrybot.commands.video(name)
+       furrybot.ping_message(name, "https://youtube.com/watch?v=dQw4w9WgXcQ", furrybot.colors.system)
+end
+
 return function(_http, _env, _storage)
        http, env, storage = _http, _env, _storage
 end