Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a plugin that allows the bot to kick/ban users #31

Open
xforever1313 opened this issue Apr 15, 2018 · 0 comments
Open

Create a plugin that allows the bot to kick/ban users #31

xforever1313 opened this issue Apr 15, 2018 · 0 comments

Comments

@xforever1313
Copy link
Owner

There should be a plugin that allows admins to kick and ban users, and the bot will autokick them if they are not allowed in the channel.

Suggested commands:

  • !warn user - Warns a user about breaking a rule in the current channel
  • !warnall user - Warns a user about breaking a rule in all channels the user is in
  • !unwarn user - Reduces the number of warnings a user has in the current channel
  • !unwarnall user - Reduces the number of warnins a user has in ALL channels
  • !warncount user - Queries the number of warnings a user has in the current channel
  • !kick user [hours] [reason] - Kicks a user for the specified number of hours from the current channel
  • !kickall user [hours] [reason] - Kicks a user for for the specified number of hours from ALL channels the bot is in
  • !kickban user [reason] - Kicks and bans a user from the current channel
  • !kickbanall user [reason] - Kicks and bans a user from ALL Channels the bot is in
  • !unban user - Unbans a user from the current channel.
  • !unbanall user - Unbans a user from ALL Channels the bot is in.

All of those should also have Chaskis Events so other plugins can access the commands if needed.

Configuration Items:

  • Number of warnings before ban
  • Default ban time

This will involve adding a 'kick' function to Chaskis.Core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant