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

OptiStats - An automated monthly report of general server statistics #5

Closed
JackDotJS opened this issue Aug 6, 2019 · 4 comments
Closed
Assignees
Labels
📁 category: legacy ports related to porting old bot features into the current framework ⚙️ complexity: 3 uh oh ⚠ priority: 1 lowest priority 🔁 status: to-do this will be added sooner or later

Comments

@JackDotJS
Copy link
Owner

Because why not.

  • Have OptiBot record a handful of obscure data and save it to a file
  • This could be access through a new command, like !stats
  • Potential list of things that could be saved:
messages received
commands received
bot messages sent
total kick count
total ban count
total mute count
users joined
users left
join/leave ratio
...
(not sure what else to add here)
@JackDotJS JackDotJS added 📁 category: new features suggestions and ideas for new things ⚠ priority: 1 lowest priority 🔁 status: pending further review needs more opinions and feedback before work can begin labels Aug 6, 2019
@JackDotJS JackDotJS self-assigned this Aug 6, 2019
@JackDotJS JackDotJS added 🔁 status: in-progress currently being worked on and removed 🔁 status: pending further review needs more opinions and feedback before work can begin labels Aug 29, 2019
@JackDotJS JackDotJS added this to the OptiBot 2.1 milestone Sep 4, 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

This could also count exactly which commands are being used. This would be VERY useful, imo.

@JackDotJS JackDotJS added ⚠ priority: 3 regular priority status: partially complete and removed ⚠ priority: 1 lowest priority 🔁 status: in-progress currently being worked on labels Nov 27, 2019
JackDotJS pushed a commit that referenced this issue Nov 27, 2019
- added massive touch-ups on the wip OptiStats system (might as well call it a rewrite at this point) (#5)
- all async boot stages are no longer necessary for the bot to finish initialization. if an error is thrown in an async stage, it will simply be logged and the bot should continue as normal.
- added command tag "HIDDEN" (was added a while ago but now it actually does something)
- renamed "Assistant Functions" to "Tidbits" ("assistant functions" just sounds weird tbh)
- fixed missing exit code when the bot shuts down due to excessive resets
@JackDotJS
Copy link
Owner Author

This is now mostly complete, and could easily be expanded upon in the future.

Currently, the last few things I'd like to add are as followed:

  • Final results of statistics at the end of each year, including total #s and monthly averages.
  • The exact number of times a command was used in addition to the percentage.
  • Maybe a special exception for the !stats command to ignore itself in usage calculations?

@JackDotJS JackDotJS added ⚠ priority: 1 lowest priority 🔁 status: to-do this will be added sooner or later 📁 category: legacy ports related to porting old bot features into the current framework and removed ⚠ priority: 3 regular priority status: partially complete 📁 category: new features suggestions and ideas for new things labels Mar 31, 2020
@JackDotJS
Copy link
Owner Author

update for NX: this feature will also be ported, but it's really low on my priority list.

@JackDotJS
Copy link
Owner Author

this has to be one of the oldest ideas for optibot, ever.

gonna go ahead and shelve this due to how ridiculously unnecessary it is, plus how long its gone without having a reliable implementation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📁 category: legacy ports related to porting old bot features into the current framework ⚙️ complexity: 3 uh oh ⚠ priority: 1 lowest priority 🔁 status: to-do this will be added sooner or later
Projects
None yet
Development

No branches or pull requests

1 participant