#6 request: graph of usercounts

已關閉
mouz6 年之前創建 · 3 條評論

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)).
mouz5 年之前 關閉
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 ```
mouz5 年之前 重新開啟
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).
mouz5 年之前 關閉
登入 才能加入這對話。
未選擇標籤
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容