-
Notifications
You must be signed in to change notification settings - Fork 3
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
stats: merge messages #84
Comments
I think what needs to be determined is what this "short of period of time" is, if it's fixed, or if we give users of the command the choice of this time period. Also, should users be given the choice between a "raw" or "corrected" channel summary? |
I was thinking of giving users a choice of the time set with a default time of 2 minutes if no arguments are given. For example
I assume you're referring to the default nature of the I'm open to suggestions on this either way though, am not entirely sure what would work best and be easiest to implement. |
AFAIK, discord.py doesn't have in-built functionality for command flags, only command parameters. There's two packages that extend the I think it seems like a sensible idea to keep the default behaviour of |
Fair, in that case it may be a new command. I'll give experimenting with the flags a go when possible but it's probably best not to add a package for something like that. Thanks for the advice! :) |
No problem. The most well-maintained flag utility package is this one: https://github.com/XuaTheGrate/Flag-Parsing if you decide to go ahead with flags. When you decide to get started on implementation, let us if you have any questions about how to structure your code. |
Modification to the
$channelSummary
command that lets the user merge messages so that multiple messages over a short period of time show up as a single single message so text spam influences the stats less.This could be done using a flag on the command or just a new command, honestly I don't know what's possible.
The text was updated successfully, but these errors were encountered: