Add different events per server #67

Closed
opened 2021-11-28 13:37:06 +00:00 by Vylpes · 1 comment
Vylpes commented 2021-11-28 13:37:06 +00:00 (Migrated from github.com)

There should be a way to add custom events that are only available for a specific server, or overwrite an existing base command.

Acceptance Criteria

AS a bot owner
GIVEN there is no event with the same name
WHEN I add an event into a subdirectory with the name of the server id
THEN this command should only be discoverable by that server

AS a bot owner
GIVEN there is an event with the same name
WHEN I add a command into the subdirectory with the name of the server id
THEN this command should be used instead of the base command

AS a user
GIVEN there is a server exclusive command
WHEN I run the help command
THEN this command should show in its own section

There should be a way to add custom events that are only available for a specific server, or overwrite an existing base command. ## Acceptance Criteria AS a bot owner GIVEN there is no event with the same name WHEN I add an event into a subdirectory with the name of the server id THEN this command should only be discoverable by that server AS a bot owner GIVEN there is an event with the same name WHEN I add a command into the subdirectory with the name of the server id THEN this command should be used instead of the base command AS a user GIVEN there is a server exclusive command WHEN I run the help command THEN this command should show in its own section
Vylpes commented 2022-04-09 16:21:37 +01:00 (Migrated from github.com)

Decided this could be simply handled by adding the logic into the events themselves

Decided this could be simply handled by adding the logic into the events themselves
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: RabbitLabs/vylbot-app#67
No description provided.