Commit Graph

29 Commits (fce869248cbb902aeece2ca7b469a2e90d7fdd3d)

Author SHA1 Message Date
Franck Nijhof b0cee0bc46
String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
Ian Byrne 9be2704c11
Add option to include attachments from remote URL to Discord notifications (#74811)
* Add option to include attachments from remote URL to Discord notifications

* Use aiohttp instead of requests for Discord Notify URL retrieval

* Refactor discord notifications code

* Remove unecessary images check in discord notifier
2022-11-12 16:11:06 -08:00
tbertonatti 03f0916e7c
Add embed image parameter for Discord notify (#73474) 2022-06-23 21:02:48 +02:00
Franck Nijhof 991f0b40f2
Remove YAML configuration from Discord (#71696) 2022-05-13 22:55:02 -05:00
Robert Hillis 9f0665bbb4
Add config flow to discord (#61069) 2022-03-30 13:18:48 +02:00
d6e aa57907c18
Improve logging for Discord integration (#68160) 2022-03-16 21:16:38 +01:00
cheng2wei 36385396b0
Fix discord embed class initialization (#67831) 2022-03-08 20:01:00 -08:00
Franck Nijhof cb03db8df4
Replace discord.py with nextcord (#66540)
* Replace discord.py with nextcord

* Typing tweak

* Another pip check decrease :)
2022-02-15 10:37:41 +01:00
kezziny 2df3c85ba6
Fix discord component using userid as target (#63972) 2022-01-12 14:37:22 +01:00
Jesse Hills c2830b3e66
Fix fields being None for discord notify service (#59736)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 08:26:02 +13:00
Michael 81845bb0b5
Fix channel.send in Discord (#58756) 2021-10-31 13:32:49 +01:00
Nihaal Sangha fe0151491e
Improve Discord notifier (#52523) 2021-10-22 23:09:30 +02:00
Joakim Sørensen b7c15d4474
Fix deprecation warning in discord notifier (#52197) 2021-06-26 07:12:10 -04:00
popboxgun ab710f2154
Add support for Discord embed in messages (#44986)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-01-26 11:39:48 +01:00
Philip Allgaier 392c058d34
Ensure consistent spelling of "ID" (#44585) 2020-12-28 18:34:08 +01:00
Ville Skyttä 435a88636a
Address new issues flagged by flake8 3.8.0a2 (#34964) 2020-04-30 21:37:58 +02:00
springstan d842dacfd6
Clean up access to config in various integrations v5 (#34206) 2020-04-15 14:10:07 +02:00
vermium-sifell c651ce06c5
Add Direct Message support for Discord integration (#33692)
* Update notify.py

* Update notify.py

* Update notify.py

Added a comment

* Update notify.py

* Update notify.py

* Update notify.py

* Update notify.py

* Update notify.py
2020-04-09 18:56:17 +02:00
springstan db72039b8f
Use list literals (#33659) 2020-04-04 23:14:47 +02:00
Bas Nijholt 08f128e9c7 Sort imports according to PEP8 for components starting with "D" (#29764)
* use isort to sort imports for components starting with 'd'

* fix isort mistake
2019-12-09 17:42:00 +01:00
bouni 5938f5a3a1 moved imports to top level (#27682) 2019-10-15 10:06:29 +02:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen f995ab9d54
Don't pass in loop (#23984)
* Don't pass in loop

* Revert some changes

* Lint + Axis revert

* reinstate loop

* Fix a test

* Set loop

* Update camera.py

* Lint
2019-05-22 21:09:59 -07:00
Cyro a99e15343c Make Discord payload data key not required (#23964) 2019-05-18 13:14:53 -07:00
Cyro beb678e259 Move I/O to executor thread pool (#23589)
* Move I/O to executor thread pool

* Check if image is in whitelist_external_dir

* Move import to top of file

* Fix bad indentation
2019-05-01 17:00:17 -06:00
Cyro 75a2c057f2 Upgrade discord.py to v1.0.1 (#23523) 2019-04-30 22:12:39 +02:00
cgtobi 2c07bfb9e0 Remove dependencies and requirements (#23024)
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2c.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein 048b100eea Clean up docstrings (#22679)
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
Robbie Trencheny 7741ec4d5a Great migration notify (#22406)
* Move notify platforms into components

* Move notify tests

* Fix notify tests

* More fixes

* Update requirements

* Update .coveragerc

* Run gen reqs
2019-03-27 20:36:13 -07:00