Users can now display a list of reactions.lua options using /reactions, a help message
dynamically generated at plugin load and streamlined into the reactions system. Added doc for /reactions.
This commit is contained in:
parent
5c2591152e
commit
2e31f2f604
@ -1,3 +1,8 @@
|
|||||||
|
local doc = [[
|
||||||
|
/reactions
|
||||||
|
Get a list of the available reaction emoticons.
|
||||||
|
]]
|
||||||
|
|
||||||
local triggers = {
|
local triggers = {
|
||||||
['¯\\_(ツ)_/¯'] = '/shrug$',
|
['¯\\_(ツ)_/¯'] = '/shrug$',
|
||||||
['( ͡° ͜ʖ ͡°)'] = '/lenny$',
|
['( ͡° ͜ʖ ͡°)'] = '/lenny$',
|
||||||
@ -36,5 +41,6 @@ triggers[help] = '^/reactions'
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
triggers = triggers,
|
triggers = triggers,
|
||||||
action = action
|
action = action,
|
||||||
|
doc = doc
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user