Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

/kick command #66

Closed
baptiste0928 opened this issue Apr 18, 2022 · 1 comment
Closed

/kick command #66

baptiste0928 opened this issue Apr 18, 2022 · 1 comment
Assignees
Labels
c-interaction Related to interactions t-feature Introduces a new feature t-tracking Issue that tracks to a major feature or milestone.

Comments

@baptiste0928
Copy link
Owner

Implement the /kick command. This command is the first important moderation command implemented because it is probably the simplest.

Command usage

  • Moderator uses the /kick <user> <optional reason> to kick the user from the guild in which the command is executed.
  • The bot checks if the user is a guild member, ensure the moderator has required permissions and the bot can kick the user.
  • If no reason has been provided, a modal component prompt the moderator for a reason. If enforce_reason is enabled in guild configuration, the field is required to continue.
  • The bot attempts to send a private message to the kicked user with the reason of the kick.
  • A message is sent in the guild logs channel and the sanction is stored in guild moderation logs.
  • The moderator is informed of the command success with a message.
@baptiste0928 baptiste0928 added t-feature Introduces a new feature c-interaction Related to interactions t-tracking Issue that tracks to a major feature or milestone. labels Apr 18, 2022
@baptiste0928 baptiste0928 self-assigned this Apr 18, 2022
@baptiste0928 baptiste0928 linked a pull request Apr 18, 2022 that will close this issue
4 tasks
@baptiste0928
Copy link
Owner Author

See #113

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c-interaction Related to interactions t-feature Introduces a new feature t-tracking Issue that tracks to a major feature or milestone.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant