This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
Mikubot-2/miku/plugins/spam.lua

12 lines
269 B
Lua
Raw Normal View History

local spam = {}
function spam:init(config)
spam.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('spam', true).table
end
function spam:action(msg, config)
local text = string.rep('SPAM ', 819)
utilities.send_reply(msg, text)
end
return spam