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:
		| @@ -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 | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 topkecleon
					topkecleon