EpicInteractions

Documentation for EpicInteractions addon

EpicInteractions is an addon that allows for creating interactive messages using Discord buttons and select menus.

Creating interactive messages

For creating interactive messages you need to setup a message with some button(s) or menu(s). To do that, you can use EpicPresets. While creating you will need to use unique customIds and write them down - that's what you need to make everything work.

Making buttons work

To make working button, you need to open buttons.yml config file and create new button config object in the buttons list.

name: # Button name
customId: # Button ID - unique + lowercase + no_spaces
actions: # Button actions - see below
reply: # Button reply - see below

actions is a list of actions config objects from EpicActions to execute. reply is a config object for interaction response. Click here for more info.

Making menus work

To make a working select menu, you need to open menus.yml config file and create new menu config object in the menus list.

name: menu # Menu name
customId: # Menu ID - unique + lowercase + no_spaces
options: # Menu options
reply: # Button reply - see below

options is a list of select menu objects. reply is a config object for interaction response. Click here for more info.

Option config object format

name: # Option value
actions: # Option actions

name is representing the value of option, which means that if options selected by user contain one with this value, all added actions will be executed.

Interaction replies

For handling responses you need to select a preset from EpicPresets.

preset: # Preset name
private: # Whenever the reply should be private

Last updated