diff --git a/docs/getting_started.md b/docs/getting_started.md index 5bde8db..a73d9e6 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -13,7 +13,7 @@ The following commands exist: - `/server-config set-nickname-on-join` - A true (yes) / false (no) toggle to set whether the bot should change a users nickname when `/approve` is run against them. - `/server-config access-roles` - Provides functionality to set which roles are added/removed from users when they're granted access to the server via `/approve` if `assign-roles-on-join` is enabled. This takes three parameters and can be confusing. There are two role lists, a `Grant` list, which is a list of roles the bot will give a user, and a `Revoke` list, which is a list of roles the bot will remove from a user. - - `action` - Options are `Append`, `Unappend` and `View` + - `action` - Options are `Add`, `Remove` and `View` - `array` - Options are `Grant` and `Revoke` - `role` - Required if `action` is not `View` diff --git a/trainerdex_discord_bot/cogs/settings.py b/trainerdex_discord_bot/cogs/settings.py index a69fae8..2341b07 100644 --- a/trainerdex_discord_bot/cogs/settings.py +++ b/trainerdex_discord_bot/cogs/settings.py @@ -94,8 +94,8 @@ async def guild_config__set_nickname_on_update( str, name="action", choices=[ - OptionChoice(name="Append role", value="append"), - OptionChoice(name="Unappend role", value="unappend"), + OptionChoice(name="Add role", value="append"), + OptionChoice(name="Remove role", value="unappend"), OptionChoice(name="View roles", value="view"), ], ), @@ -175,8 +175,8 @@ async def guild_config__access_roles( str, name="action", choices=[ - OptionChoice(name="Append role", value="append"), - OptionChoice(name="Unappend role", value="unappend"), + OptionChoice(name="Add role", value="append"), + OptionChoice(name="Remove role", value="unappend"), OptionChoice(name="View roles", value="view"), ], ),