LordBoos / discord_game

Home Assistant custom component to get online and game status of Discord users
MIT License
57 stars 8 forks source link

Intents need to be explicitly invoked by the bot #22

Closed xiidoz closed 3 years ago

xiidoz commented 3 years ago

Intents need to be explicitly invoked by the bot. Here's the corresponding part from discord.py documentation. The current solution with discord.py 1.3.4 will work, as long as discord gateway v6 (already deprecated) is still up, but won't work on the v8 gateway. So this pull request won't improve or fix anything right now, but will make the component future proof.

LordBoos commented 3 years ago

Thank you for your contribution. However, is this dependency upgrade compatible with native HA discord component? There were some issues with discord.py versions in the past.

LordBoos commented 3 years ago

Ok I have tested this in combination with the native discord integration and it works fine.