#6 request: graph of usercounts

Zamknięty
otworzone 6 lat temu przez mouz · 3 komentarzy
mouz skomentował 6 lat temu

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 skomentował 5 lat temu
Właściciel

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 otwiera ponownie 5 lat temu
mouz skomentował 5 lat temu
Właściciel

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 skomentował 5 lat temu
Właściciel

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).
Zaloguj się, aby dołączyć do tej rozmowy.
Brak etykiety
Brak kamienia milowego
Brak przypisania
1 uczestników
Ładowanie...
Anuluj
Zapisz
Nie ma jeszcze treści.