7025498768
- Cowsay - Hallo! - Hdf - Insider Fehlendes \n in der Hilfe von "me" gefixt
20 lines
393 B
Lua
20 lines
393 B
Lua
local me = {}
|
|
|
|
function me:init(config)
|
|
me.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('me', true).table
|
|
me.doc = '\n*/me* _<Text>_'
|
|
end
|
|
|
|
me.command = 'me'
|
|
|
|
function me:action(msg, config)
|
|
local input = utilities.input_from_msg(msg)
|
|
if not input then
|
|
return
|
|
end
|
|
|
|
utilities.send_message(self, msg.chat.id, msg.from.first_name..' '..input)
|
|
end
|
|
|
|
return me
|