#6 request: graph of usercounts

Closed
opened 6 years ago by mouz · 3 comments
mouz commented 6 years ago

Have a command !usercounts, which outputs an ascii art graph in a private message. The graph should depict the number of users (in a certain channel, at 22:00 CET) as a function of time. The time domain should be the last 10 days.

If the command is not given in a channel, the output should be a usage message, informing the user to supply a channel name. The command should be given in a channel (see below).

Have a command !usercounts, which outputs an ascii art graph in a private message. The graph should depict the number of users (in a certain channel, at 22:00 CET) as a function of time. The time domain should be the last 10 days. <del>If the command is not given in a channel, the output should be a usage message, informing the user to supply a channel name.</del> The command should be given in a channel (see [below](https://notabug.org/mouz/bot/issues/6#issuecomment-11643)).
mouz commented 5 years ago
Owner

example output:

   .
   .                 * 
 5 -     *           *
   .  *  *           *            
   .  *  *           *            
   .  *  *     *  *  *  *     *  *
   .  *  *  *  *  *  *  *  *  *  *
 0 - fr sa su mo tu we th fr sa su
example output: ``` . . * 5 - * * . * * * . * * * . * * * * * * * * . * * * * * * * * * * 0 - fr sa su mo tu we th fr sa su ```
mouz reopened 5 years ago
mouz commented 5 years ago
Owner

If the channel name would be an argument, anyone would be able to retrieve usercounts for any channel the bot is in. To prevent this the command should always be given in a channel. This also implies that there is no need for an explicit argument for this command.

If the channel name would be an argument, anyone would be able to retrieve usercounts for any channel the bot is in. To prevent this the command should always be given in a channel. This also implies that there is no need for an explicit argument for this command.
mouz commented 5 years ago
Owner

Closing. I decided not to implement this. Reason: admins would be able to know the number of users in channels they're not attending (by reading the file that stores the counts per channel).

Closing. I decided not to implement this. Reason: admins would be able to know the number of users in channels they're not attending (by reading the file that stores the counts per channel).
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.