30 Commits

Author SHA1 Message Date
TrustyJAID
3559a9fad1 Add replies to away (#271) 2022-04-08 16:10:49 -07:00
aikaterna
0b21be26f8 [Away] Add Trusty as an author
because let's be real here, dude did a ton of work on it in the past
2021-11-13 12:47:28 -08:00
aikaterna
40b3bbc363 Info.json cleanup 2021-10-10 13:26:33 -07:00
aleclol
d778e81297 Update away.py (#240) 2021-07-12 08:24:31 -07:00
PredaaA
cbd6591acf [Away] Set delete_after with a minimum of 5s (#212)
* [Away] Set delete_after with a minimum of 5s

* AAAAAAAAAAAAAAAAAAAAAAAAAAA more checks!
2021-02-24 09:31:50 -08:00
aikaterna
ae36d3b48c Revert "[Away] Set delete_after with a minimum of 5s (#210)" (#211)
This reverts commit efe32dda52.
2021-02-19 11:34:24 -08:00
PredaaA
efe32dda52 [Away] Set delete_after with a minimum of 5s (#210)
* [Away] Set delete_after with a minimum of 5s

* oops
2021-02-19 11:17:12 -08:00
PredaaA
12ff014226 [Away] Reorder config calls at on_message event (#205) 2021-02-07 18:03:06 -08:00
James
f1d1380d9c [Away] per user filtering in servers (#166)
* per member toggleaway

* format and black

* remove black format as requested
2020-10-14 08:36:28 -07:00
Draper
ae9dbf569c Data API Complicance (Red 3.4) (#136)
* Simple ones first

* Less simple but still simple.

* Slightly more complicated

* use correct name

* move to module

* Black -l 120

* review

* give users the proper feedback

Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
2020-08-26 09:57:43 -07:00
TrustyJAID
4376194429 [Away] Add link to spotify song in listening status (#143) 2020-08-22 09:56:18 -07:00
aikaterna
724eca3d62 [Away] Make text only responses more descriptive
* Embedded answers would reply with the correct status ("user is away", idle, dnd, or offline) while text messages were all lumped together under "user is away" for idle, dnd, offline. This change brings the text messages in line with the embedded messages.

* f strings instead of format because I should have done that before

* variable fix for listening status
2020-03-18 14:06:23 -07:00
aikaterna
ad2f24089e [Away] Text only mode, support for custom statuses
* Resolves #52 
* Extra bonus of theoretically playing nice now with users that have a custom status set
2020-03-18 11:45:12 -07:00
aikaterna
7d73d7931a Red 3.2 changes and cleanup 2020-01-09 16:57:33 -08:00
aikaterna
17d6a597a7 3.1 changes 2019-05-28 22:32:25 -07:00
Ellie
831740f18c V3.0 + V3.1 compability (#44)
* Update away.py

* Update dungeon.py

* V3.0 + V3.1 compability

* V3.0 + V3.1 compability

* V3.0 + V3.1 compability

* V3.0 + V3.1 compability

* V3.0 + V3.1 compability

* V3.0 + V3.1 compability
2019-05-22 08:06:40 -07:00
TrustyJAID
6f96858392 [Away] Give some more flair to listening and gaming
This gives a little bit more flair to the listening and gaming options providing details about the users activity such as:
Game details if the game provides it or a thumbnail.

Listening shows the current placement in the song just like the audio cog as well as the album art now.

You can also now set an image as the response if embeds are enabled and the image is a valid embed image.

This also fixes a bug when the bot restarts removing old settings and a bug with replacing mentions in listening status.
2019-01-27 01:54:12 -07:00
TrustyJAID
7d2ffd315a [Away] Optimize display of awaysettings
This will properly display each option with a maximum of 20 characters to give a glimpse and respects maximum allowable characters in the description field. Hopefully no one adds so many games that this is an issue.
2019-01-24 15:29:09 -07:00
TrustyJAID
d95660c293 [Away] Fix typo in listening response 2019-01-23 21:55:20 -07:00
TrustyJAID
eaea6e132f [Away] Forgot to list games 2019-01-22 19:00:00 -07:00
TrustyJAID
984a59f7e2 [Away] Add awaysettings command to see your current settings 2019-01-22 18:50:42 -07:00
TrustyJAID
b05359f2f1 [Away] Add gaming, streaming, and listening responses
This adds gaming, streaming, and listening options when people are mentioned. This also allows mods, admins, and bot owner to be allowed despite ignoring the guild. This also prevents posts from bots mentioning a user.
2019-01-22 16:16:34 -07:00
aikaterna
81055f38cd Only reply with status messages if no away message set 2018-10-27 12:08:22 -07:00
TrustyJAID
59a22ce65c [Away]
Add multiple away response toggles based off discord status.
2018-10-18 14:17:15 -06:00
aikaterna
d8cd36f8ff [V3] RC1 Compliance, fixes
RC1 changes on all cogs. Tools has inrole fixed, now will display appropriately if 0 people are in the specified role. Timezone: removed the time place command as timezoneapi.io has changed to a paid service.
2018-10-06 12:06:54 -07:00
aikaterna
76e8c90b5b Cleanup part 2 and Beta 20 requirements 2018-08-19 20:23:44 -07:00
aikaterna
be13d0f686 [V3] Cleanup 2018-08-08 21:54:06 -07:00
aikaterna
e441e2b05f Add away.py
Thanks to Axas.
2018-01-27 19:28:58 -08:00
aikaterna
f6a8ffdb1f Start of the v3 branch 2018-01-27 19:10:40 -08:00
aikaterna
8abe72a0fc New home for away, seen, and hunting 2017-11-15 20:42:31 -08:00