Add base command
This commit is contained in:
parent
0042f1fca0
commit
ade996d26d
|
|
@ -47,6 +47,14 @@ function app:init(on_exit)
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function app:base(content)
|
||||||
|
if self.channel == nil then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
chansend(self.channel, Message({base = content}))
|
||||||
|
end
|
||||||
|
|
||||||
function app:show(content)
|
function app:show(content)
|
||||||
if self.channel == nil then
|
if self.channel == nil then
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user