9 Commits

Author SHA1 Message Date
Tim Wilson
63a60610e4
new features
* now support multiple auto-update messages
  * if an auto-update message is no longer the most recent, a 'printer' reaction will appear that a user can click to reprint the output at the bottom of the channel
* Output mode (desktop or mobile) is now autoselected based on `user.is_on_mobile()`
  * can be overwritten using `t/compact`
* now `t/list` also supports searching by transfer IDs
2020-08-31 10:57:16 -06:00
Tim Wilson
ba2c55f3ca
new feature and performance improvoments
Added `t/compact` command to toggle between mobile or desktop command output that applies to `t/summary`, `t/list`, `t/modify`
User can click a reaction of `t/summary` or `t/modify` while reactions are still being printed.
2020-08-26 12:57:15 -06:00
Tim Wilson
92e8e72e04
bugfix
count-based check for reactions in `list` and `summary` now check that the original message author has clicked the reaction.
2020-08-25 17:03:53 -06:00
Tim Wilson
0c6fd04444
bugfix
1) `list` auto-update was deleting the old message every time, now it (and `summary`) edits the existing message(s) when auto-updating *unless* the auto-update message isn't the most recent. If there are newer messages then the auto-update is deleted and reposted at the bottom
2) depending on the timing with which a user presses the "cancel" reaction to stop auto-update, it could be missed. Added a final check based on the count of the cancel reaction. This has the drawback that any user can cancel the auto-update, but I could check to make sure the message author is one of the people that pressed it.
2020-08-25 14:53:55 -06:00
Tim Wilson
2217e3688b
bug fix
When auto-updating `summary`, reactions were not being removed for listing types of transfers of which there were none. Now that's fixed. e.g. if the number of downloading transfers goes from 1 to zero, the downloading reaction will be removed the next time the output is updated.
2020-08-25 14:25:24 -06:00
Tim Wilson
60537b6be9
Update bot.py 2020-08-25 12:28:01 -06:00
Tim Wilson
4d0e3d6854
added features
Repeat option for `summary` and `list` commands
More filters: stalled, running (non-zero rate), error (and types of error), verifying data, queued, public/private (tracker)
Added option to verify data to `modify` command
Added more info to summary.
2020-08-25 11:53:17 -06:00
Tim Wilson
bd0faa4e19
Update bot.py
remove symbol legends from typical output and put in special `legend` command that's also accessible by reacting to other output embeds.
2020-08-18 16:05:32 -06:00
Tim Wilson
6e11b62fa8
Create bot.py
initial commit
2020-08-18 11:15:42 -06:00