An additional plugin for Dark's ReactionThreads plugin that creates a menu of reaction in private channels
This plugin requires Dark's ReactionThreads to function and must be installed first
Then in your config.ini file, add:
plugins[] = npm:YetAnotherConnor/ReactionThreadsMenu
extraIntents[] = directMessageReactions
and after restarting your bot, messages sent to the bot directly will have the same menu of reactions used in ReactionThreads
!
reactionThreads-responseMessage
The menu message header.
- Defaults to "If you could select one of the following reactions that best fits your message, that would help us out a lot!"
reactionThreads-menu
Allows users to send the menu command and recieve a new menu.
- Defaults to true, but adding
reactionThreads-menu = false
in your config disables this.
reactionThreads-oldMenus
Menus created in prior closed threads can create a new thread.
- Defaults to true, but adding
reactionThreads-oldMenus = false
in your config disables this.
This plugin requires the ReactionThreadsMenuData.json
file which is created on first launch; moving or deleting this file will lose necessary data.
If you run multiple instances of the bot from the same folder, the same reactionThreads-suffix
in your config.ini file used for ReactionThreads will be applied for this plugin as well.
Useage: !rtDescription <ChannelID> <MessageID> <Emoji> [Description]
ChannelID
The ID of the channel the message the reaction is in.MessageID
The ID of the message in that channel.Emoji
The emoji directly from the emoji picker without any changes.Description
The description to be shown in a menu for that reaction.
If the description parameter is not passed, the bot will display the currently set custom description.
If the description parameter is passed, the bot will set the reaction to use this new description.
Useage: !menu
This command will create a new menu for the user.
If reactionThreads-menu
is set to false, only staff are able to create a new menu, otherwise both user and staff are able to use this command.
Useage: !menutest
The bot will show how the menu appears to the user and what each response is, which can only be used in the inbox server.