12 lines
269 B
Lua
12 lines
269 B
Lua
|
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
|