diff --git a/otouto/plugins/media.lua b/otouto/plugins/media.lua index 940ad81..207e5e4 100644 --- a/otouto/plugins/media.lua +++ b/otouto/plugins/media.lua @@ -1,5 +1,7 @@ local media = {} +mimetype = (loadfile "./otouto/mimetype.lua")() + media.triggers = { "(https?://[%w-_%.%?%.:,/%+=&%[%]]+%.(gif))$", "^(https?://[%w-_%.%?%.:,/%+=&%[%]]+%.(mp4))$",