Skip to content

YetAnotherConnor/ReactionThreadsMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An additional plugin for Dark's ReactionThreads plugin that creates a menu of reaction in private channels

Setup

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!

Useage

Extra Configuration

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.

Information

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.

Commands

Adding a Reaction Description

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.

Sending a New Menu

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.

Checking and Validating Menu Appearence

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published