#6 request: graph of usercounts

Затворени
отворен преди 6 години от mouz · 3 коментара
mouz коментира преди 6 години

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 коментира преди 5 години
Притежател

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 повторно отвори преди 5 години
mouz коментира преди 5 години
Притежател

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 коментира преди 5 години
Притежател

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).
Впишете се за да се присъедините към разговора.
Няма етикет
Няма етап
Няма изпълнител
1 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.