Add different events per server #67
Labels
No labels
MankBot
PotatoBot
VylBot
blocked
commands
configuration
core
duplicate
enhancement
events
good first issue
help wanted
invalid
moderation
needs criteria
needs estimate
question
rules
type
admin
type
bug
type
defect
type
dependencies
type
documentation
type
epic
type
incident
type
investigation
type
spike
type
story
type
subtask
wontfix
blocked
duplicate
needs criteria
needs estimate
question
type
admin
type
alert
type
bug
type
defect
type
dependencies
type
design
type
documentation
type
epic
type
incident
type
investigation
type
spike
type
story
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: RabbitLabs/vylbot-app#67
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Decided this could be simply handled by adding the logic into the events themselves