Go to file
2024-03-03 00:47:17 +01:00
commands/admin implement role assignment slash command 2024-03-03 00:41:37 +01:00
events implement guild member add event 2024-03-03 00:46:44 +01:00
models boolean property to note role assignment 2024-03-03 00:41:04 +01:00
.env.example clean up: using unprotected sqlite database 2024-01-29 14:59:52 +01:00
.eslintignore ignore jsdoc output for prettier and eslint 2024-02-11 02:00:47 +01:00
.eslintrc.json configure eslint to use jsdoc 2024-02-11 02:00:30 +01:00
.gitignore ignore JSDoc output 2024-02-10 22:10:51 +01:00
.jsdoc.conf.json clean up: auto format 2024-02-11 01:59:57 +01:00
.prettierignore ignore jsdoc output for prettier and eslint 2024-02-11 02:00:47 +01:00
.prettierrc Initial commit 2024-01-26 13:28:02 +00:00
database.js bugfix: def / init order 2024-03-03 00:47:17 +01:00
deploy.js document code with jsdoc comments 2024-02-11 02:04:12 +01:00
index.js prepare member_roles with template 2024-03-02 23:49:13 +01:00
package-lock.json update packages 2024-02-11 02:00:16 +01:00
package.json remove old docs on jsdoc script execution 2024-02-11 02:39:52 +01:00
README.md clean up: auto format 2024-02-11 01:59:57 +01:00
shared.js bugfix: JSDoc typing 2024-03-02 23:49:49 +01:00

Getting started

Discord utilizes different types of commands to interface with bots. The following explanations aim to explain these types.

Slash Commands

Simple text-based commands. Can be entered in any Text-Based-Channel.

Prefix message with a "Slash" (/) and begin typing the name of the command! This prefix and the styling as a code snippet will be used to highlight Slash Commands in this message.

For clarification, this will also highlight command options as "Slash Command only" by prefixing them with an underscore (_)

Context Menu Commands

"One click" commands. Listed under context (right click) menus, under the group "Apps".

Ideally, clicking on Users or Messages, you can apply any type of command with the press of a button. Comes with the downside of lacking further input capabilities.

Under the list of names of any given command, there may be a quoted string. These are meant to highlight context menu capabilities for the current command, by showcasing the commands name in the quote.

Reaction/Self Roles

Name

/self_roles

Description

Enables users to self assign roles by reacting to a message, utilizing a bot for automated tasks

Subcommands

create

Full names:

  • /self_roles create

Description:

The bot writes a message with the given contents in the current channel, and then registers said message for self roles

Options:

  • _text: String

register

Full names:

  • /self_roles register
  • "Register self roles"

Description:

Fetches any existing message and registers it for self roles directly

Options:

  • _id: Discord Message ID

remove

Full names:

  • /self_roles remove
  • "Remove self roles"

Description:

Fetches any existing message, looks if it is registered for self roles and then unregisters it

Options:

  • _id: Discord Message ID

add

Full names:

  • /self_roles add
  • "Add role emoji pair"

Description:

Adds a new Role-Emoji-Pair to a given message. Reacting to said message with the given emoji yields the given role

Options:

  • _id: Discord Message ID
  • role: Discord Role
  • emoji: Unicode [or if accessible, a custom] Emoji

Automated tasks

Registered Messages will automatically:

  • be unregistered during deletion
  • be edited in case the bot owns said message. It will explain the given Role-Emoji-Pairs every time a new pair is added.

Custom Voice Chat

Name

/custom_vc

Description

Enables users to create a custom, temporary voice chat with full control over it

Subcommands

create

Full names:

  • /custom_vc create

Description: The bot creates a new voice channel with the given name and registers said channel for custom VC creation

Options:

  • _name: String

register

Full names:

  • /custom_vc register

Description: Fetches any existing voice channel and registers it for custom VC creation directly

Options:

  • _id: Discord Channel ID

remove

Full names:

  • /custom_vc remove

Description: Fetches any voice channel, looks if it is registered for custom VC creation and then unregisters it

Options:

  • _id: Discord Channel ID

Automated tasks

Registered Voice Channels will automatically:

  • be unregistered during deletion
  • be deleted once all users left said channel
  • grant full control over permissions, only within said channel, to the author

TO-DO List:

Note

These lists can and will easily be appended to in the future. Any and all feedback is greatly appreciated!

Planned features

  • Automated alerts/reminders
  • Removing pairs on reaction/self roles

Quirks/Bugs

  • Users are currently unable to overwrite permissions of temporarily generated custom VCs

Changes

None