[PR #47] [MERGED] Implement !explain and general commands cleanup #168

Closed
opened 2026-02-15 15:55:14 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RPCS3/discord-bot/pull/47
Author: @13xforever
Created: 6/16/2018
Status: Merged
Merged: 6/17/2018
Merged by: @Nicba1010

Base: masterHead: bot_commands_cleanup


📝 Commits (10+)

  • 8b6a618 implemented !warn list to list all users with warnings
  • 1a7926f add reactions to failed mod and sudo commands, and also log user names
  • 1ebd9b9 warning support for unknown (banned / kicked) users
  • 28d713e add usage example for !warn
  • 75e94f0 added reporter to the warning db
  • 1ee0b68 implemented !explain command
  • 488097b fixed reaction for denied commands
  • 1d8ee3e fix multiline explanations
  • cc8038b show only text names of warned users in public
  • b231c3c fix saving warning on piracy trigger

📊 Changes

2 files changed (+305 additions, -69 deletions)

View changed files

📝 bot.py (+271 -63)
📝 database.py (+34 -6)

📄 Description

In this PR:

  • implemented !explain command group (show, add, update, remove)
  • implemented !warn list subcommand to show full list of users with warnings
  • implemented !warn for any user, including unknown / banned / kicked users
  • made it so users can check their own warnings (without details, even in DM)
  • implemented retroactive starbucks check on bot startup
  • updated warning db model to support tracking of who issued the warning
  • added more reactions from bot on different commands

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RPCS3/discord-bot/pull/47 **Author:** [@13xforever](https://github.com/13xforever) **Created:** 6/16/2018 **Status:** ✅ Merged **Merged:** 6/17/2018 **Merged by:** [@Nicba1010](https://github.com/Nicba1010) **Base:** `master` ← **Head:** `bot_commands_cleanup` --- ### 📝 Commits (10+) - [`8b6a618`](https://github.com/RPCS3/discord-bot/commit/8b6a6187cb895a0cb09369a1687c1cd15c94fb7f) implemented `!warn list` to list all users with warnings - [`1a7926f`](https://github.com/RPCS3/discord-bot/commit/1a7926fdd7b4d799a117a1cd70d761864135ccc4) add reactions to failed mod and sudo commands, and also log user names - [`1ebd9b9`](https://github.com/RPCS3/discord-bot/commit/1ebd9b96f119b339d3cb33d35c4d4d7f65039461) warning support for unknown (banned / kicked) users - [`28d713e`](https://github.com/RPCS3/discord-bot/commit/28d713e03d81d3851440696cc15470e25fb18afb) add usage example for !warn - [`75e94f0`](https://github.com/RPCS3/discord-bot/commit/75e94f071c8f25eb6c3d1b8340a2388d4a7e8ac5) added reporter to the warning db - [`1ee0b68`](https://github.com/RPCS3/discord-bot/commit/1ee0b68f022b411a94ac3d77ccb2d7e65bff70eb) implemented !explain command - [`488097b`](https://github.com/RPCS3/discord-bot/commit/488097bfc63ae43bab1b2e7753935390a37cd4c2) fixed reaction for denied commands - [`1d8ee3e`](https://github.com/RPCS3/discord-bot/commit/1d8ee3e58e8e46e16e0a853bae177e98b58d10e1) fix multiline explanations - [`cc8038b`](https://github.com/RPCS3/discord-bot/commit/cc8038bd84503833390ce7e845e5fb5b4f23292a) show only text names of warned users in public - [`b231c3c`](https://github.com/RPCS3/discord-bot/commit/b231c3cc8c877960b9fbbeb6e8496415ce06365f) fix saving warning on piracy trigger ### 📊 Changes **2 files changed** (+305 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `bot.py` (+271 -63) 📝 `database.py` (+34 -6) </details> ### 📄 Description In this PR: * implemented !explain command group (show, add, update, remove) * implemented !warn list subcommand to show full list of users with warnings * implemented !warn for any user, including unknown / banned / kicked users * made it so users can check their own warnings (without details, even in DM) * implemented retroactive starbucks check on bot startup * updated warning db model to support tracking of who issued the warning * added more reactions from bot on different commands --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 15:55:14 -05:00
yindo closed this issue 2026-02-15 15:55:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RPCS3/discord-bot#168