Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Display user mute time limits via !profile #24

Closed
JackDotJS opened this issue Aug 11, 2019 · 4 comments
Closed

Display user mute time limits via !profile #24

JackDotJS opened this issue Aug 11, 2019 · 4 comments
Assignees
Labels
📁 category: enhancements improvements for existing features ⚠ priority: 3 regular priority 🔁 status: complete this is essentially complete but is waiting to be pushed

Comments

@JackDotJS
Copy link
Owner

JackDotJS commented Aug 11, 2019

Displays time limits for mute on a user's profile, assuming they've been muted.

Ancient text:


  • Usage: !chkmute <user>
  • Gives the exact date for when a user should be unmuted.
  • Perhaps this could also be used by muted users in DMs?
@JackDotJS JackDotJS added 📁 category: new features suggestions and ideas for new things ⚠ priority: 3 regular priority 🔁 status: to-do this will be added sooner or later labels Aug 11, 2019
@JackDotJS JackDotJS self-assigned this Aug 11, 2019
@JackDotJS JackDotJS added 🔁 status: in-progress currently being worked on and removed 🔁 status: to-do this will be added sooner or later labels Aug 14, 2019
JackDotJS pushed a commit that referenced this issue Aug 14, 2019
- added !server command as a replacement to !labs and !bb (#15)
- added !serverlist command (#14)
- optibot will now generate a cropped version of it's avatar on startup, helps to reduce massive delay when using !about command
- attempts to use hidden commands are now logged
- assistant functions will now specify which message they are responding to, including a message link
- massively improved GitHub references function
- massively improved subreddit finder function
- !1710 command is now admin-only for the time being (see #25)
- removed !labs command (#15)
- added !rules command, which simply displays all server rules
- added !cv command, which adds cape verification to a specified user. (#8)
- added !removecv command, which removes cape verification. (#8)
- added !assist command, which lists OptiBot's assistant functions. (#9)
- improved embed message for !help command
- fixed !role command to be case-insensitive
- added embed messages for !purge command
- added !chkmute command, currently WIP (see #24)
- added !faq command, which searches for answers to a specified question using string similarity. grabs messages from the #faq channel in real time, so its always up-to-date.
- fixed case sensitivity for !mute
- fixed default time limit of 1 hour not working for !mute
@JackDotJS
Copy link
Owner Author

Partially added in b5bc6e8.

@JackDotJS JackDotJS added status: partially complete 🔁 status: complete this is essentially complete but is waiting to be pushed and removed 🔁 status: in-progress currently being worked on status: partially complete labels Sep 6, 2019
JackDotJS pushed a commit that referenced this issue Sep 14, 2019
oh lord

- Added User Profiles, which will replace muted.db, vcape.db, mdl.db, and mdl_messages.db. (#12)
- Fixed directories being loaded from GitHub documentation.
- Added the ability to add custom links to the StopModReposts database. (#45)
- MOTD messages will now include the date of when the message was posted. (#50)
- Started work on OptiStats. (#5)
- Removed ASCII escape codes from final boot message.
- Fixed several event handlers to ignore DM channels.
- Added the emergency shutoff command !obs.
- Added !mojira command. (#44)
- Renamed !dl command to !download
- Redesigned !download embed to include all official download links
- Added !stats command. (#5)
- Added ability to open/close text channels (slightly wip) (#30)
- Fixed !rules and !rule commands not fetching the correct message ID.
- Added !cdb command to make my life easier (converts existing databases to new User Profiles format) (#12)
- Added !warn command. (#10)
- Added !bat command.
- Made some minor cosmetic adjustments for !status
- Fixed confirmation handler messages to be cosmetically consistent. (#51)
- Redesigned embed for !help when viewing commands.
- Improved definition of images for command metadata.
- Fixed embed icon referring to an invalid image in !dr.
- Updated description for !mute command.
- !docs now mentions the !docfile command in every embed.
- Added !log command. (#41)
- !docfile now supports line numbers once again. (line previews may be added later, not sure yet)
- Added !chkmute command. (mods-only for now.) (#24)
- Fixed case sensitivity in !faq (#42)
- Fixed long FAQ entries causing the bot to crash. (#49)
- Added !mcwiki command again. (#48)
- Added !split command. (VERY wip) (#47)
- Bot status will now use the command trigger set in the configuration file.
- Updated design of error messages.
- TOOLS.muteHandler() has been rewritten, again. Should be MUCH cleaner and stable now.
- All banned members should now be removed from the database automatically. (#27)
- Users that do not exist should now be correctly removed from the database. (#52)
- Removed unused properties from config.json
@JackDotJS
Copy link
Owner Author

Added in d4e4d00.

Builder suggested this should also be available to those who are muted. I will be adding this functionality later. For now, this is mods-only.

@JackDotJS JackDotJS added 🔁 status: to-do this will be added sooner or later 📁 category: enhancements improvements for existing features and removed 🔁 status: complete this is essentially complete but is waiting to be pushed 📁 category: new features suggestions and ideas for new things labels Sep 14, 2019
@JackDotJS
Copy link
Owner Author

Old, but still relevant for NX. Mute time limits should be shown in user profiles.

@JackDotJS JackDotJS changed the title !chkmute - New command to check when a user will be unmuted. Display user mute time limits via !profile Mar 31, 2020
@JackDotJS JackDotJS added 🔁 status: complete this is essentially complete but is waiting to be pushed and removed 🔁 status: to-do this will be added sooner or later labels Apr 13, 2020
JackDotJS pushed a commit that referenced this issue Apr 14, 2020
- updated command input parser to accept multiple prefixes (#101)
- all utility functions are now loaded automatically and stored in the `OptiBot.util` property, making them much easier to access.
- authlvl calculation is now a part of the bot's core module as `OptiBot.getAuthlvl()`, which makes this instantly accessible to any command or function that needs it.
- user mutes are now correctly reimplemented if they leave and rejoin while it's still active
- fixed messages edits having unnecessary whitespace when deleting bot responses
- finally added @sirhypernova to !about description text
- `authlevel` is now universally `authlvl` in every bit of code that mentions it or uses it. because consistency.
- usage text/arguments now have a slightly more detailed explanation. (semi-WIP)
- added !addnote.
- vastly improved image processing for !cape. this should now support essentially *any* cape following the standard cape/elytra format with the same aspect ratio.
- updated !delquote (previously !rmquote) to allow moderators to remove quotes from other profiles (#102, #91)
- removed rotten eggs
- added !faq
- updated restriction descriptions in !help and !list
- added advisors to !list
- target util can now optionally search for messages instead of members
- added !mtas (#110)
- fixed *several* issues with/otherwise vastly improved !mute and the overall muting system. (#104)
- added !pardon (#96)
- quotes in !profile no longer have forced markdown formatting
- mute expiration dates are now displayed in !profile (#24)
- added !records
- !setquote now sanitizes messages before saving them
- !shitcord now posts the image directly instead of through an embed
- updated !sm to be limited to 10 minutes
- added !smtest. this command was only added to be able to test configured special perms for each text channel, but i may keep this for future use.
- updated record entry formats
- updated profile data formats
- reasons are now displayed with !warn, similar to !mute and !unmute
- muted members now have an authlvl of -1 (#116)
- mute check task now runs every 1s
- added confirmation utility
- renamed msgFinalizer.js to responder.js
- "above" target shortcut now supports multiple arrows to quickly select older messages. (#105)
- "above" target shortcut will now skip messages if they're less than 1s old. (#106)
- renamed simpleError.js to err.js
- renamed targetUser.js to target.js
- added RecordEntry utility
@JackDotJS
Copy link
Owner Author

Added in 0adebc8.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📁 category: enhancements improvements for existing features ⚠ priority: 3 regular priority 🔁 status: complete this is essentially complete but is waiting to be pushed
Projects
None yet
Development

No branches or pull requests

1 participant