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:
topkecleon 2015-08-23 02:19:45 -04:00
parent 5c2591152e
commit 2e31f2f604

View File

@ -1,3 +1,8 @@
local doc = [[
/reactions
Get a list of the available reaction emoticons.
]]
local triggers = {
['¯\\_(ツ)_/¯'] = '/shrug$',
['( ͡° ͜ʖ ͡°)'] = '/lenny$',
@ -36,5 +41,6 @@ triggers[help] = '^/reactions'
return {
triggers = triggers,
action = action
action = action,
doc = doc
}