Commit Graph

53 Commits

Author SHA1 Message Date
GitHub Action
7746715590 [ci skip] Translation update 2022-06-02 00:27:51 +00:00
epenet
1aeba8a9bd Use Mapping for async_step_reauth in discord (#72812)
* Fix tests

* Cleanup code accordingly
2022-06-01 09:44:22 +02:00
GitHub Action
b6b72f50ec [ci skip] Translation update 2022-05-22 00:22:43 +00:00
GitHub Action
ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action
37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
Franck Nijhof
991f0b40f2 Remove YAML configuration from Discord (#71696) 2022-05-13 22:55:02 -05:00
GitHub Action
348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
epenet
cb5c7dc716 Prettify json (#68898) 2022-03-30 14:06:41 +02: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
J. Nick Koston
5b755b74fb Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08: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
Fabian Affolter
55c9abc58d Upgrade discord.py to 1.7.3 (#56686) 2021-09-27 07:02:46 +02:00
Joakim Sørensen
b7c15d4474 Fix deprecation warning in discord notifier (#52197) 2021-06-26 07:12:10 -04:00
Fabian Affolter
1c4a44dc5c Upgrade discord.py to 1.7.2 (#50201) 2021-05-07 07:24:54 +02:00
Franck Nijhof
055cdc64c0 Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02: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
Fabian Affolter
e134c17df2 Upgrade discord.py to 1.6.0 (#44941) 2021-01-08 11:53:46 +01:00
Philip Allgaier
392c058d34 Ensure consistent spelling of "ID" (#44585) 2020-12-28 18:34:08 +01:00
Jakub Kolář
c5803614e1 Upgrade discord.py to 1.5.1 (#43473)
* Upgrade discord.py to 1.5.1

discord.py 1.5.1 introduces support for Intents that are required by future bots and integrations. While this is not yet required by Home Assistant Discord integration it is needed in the future, because old API which discord.py 1.4.1 uses is now deprecated. Also it would solve dependency collision with my custom component discord_game.

* Upgrade discord.py to 1.5.1
2020-11-21 13:07:17 +01:00
Fabian Affolter
d31dea50bb Upgrade discord.py to 1.4.1 (#39150) 2020-08-23 12:11:59 +02:00
Dubh Ad
e0ceacdf85 Update discord.py to v1.3.4 for API change (#38060) 2020-07-22 21:48:48 +02: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
Fabian Affolter
11ee01424d Upgrade discord.py to 1.3.3 (#34008) 2020-04-11 12:53:48 +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
Paulus Schoutsen
f1d3c0d19b Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
Fabian Affolter
c267946284 Upgrade discord.py to 1.3.2 (#33280) 2020-03-26 12:58:11 +01:00
Fabian Affolter
34aed53dcd Upgrade discord.py to 1.3.1 (#31391) 2020-02-02 13:05:50 +01:00
Franck Nijhof
a84741392b Format all manifests with prettier (#30521) 2020-01-06 21:28:23 +01: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
Fabian Affolter
5b64052d69 Upgrade discord.py to 1.2.5 (#28998) 2019-11-25 09:50:10 +01:00
Fabian Affolter
ea1401d0b6 Upgrade discord.py to 1.2.4 (#28054) 2019-10-21 13:48:07 +02:00
bouni
5938f5a3a1 moved imports to top level (#27682) 2019-10-15 10:06:29 +02:00
Franck Nijhof
c7da781efc Update documentation link URL for integrations in all manifests (#27114) 2019-10-02 09:25:44 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Fabian Affolter
a096858426 Upgrade discord.py to 1.2.3 (#25174) 2019-07-16 11:16:34 +02:00
Fabian Affolter
821e3beab0 Upgrade discord.py to 1.2.2 (#24695) 2019-06-22 14:44:24 +02:00
Fabian Affolter
3d802afecb Upgrade discord.py to 1.1.1 (#24375) 2019-06-07 14:22:19 -05: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