Assign a role when playing a certain game

Discord name : Alfred

The context :
I’m using Tmerc’s StreamRole cog and i was wondering if it’d be possible to assign the streamer role only when streaming a certain game. Tmerc told it’s not possible due to API limitation. In his words " if a user is streaming, that’s the only information the API returns about that user: that they are streaming. Nothing about what game they are playing. So a technical limitation prevents that".

What i’m asking :
To be able to give a role when playing a certain game. It’s a bit out of scope regarding the StreamRole cog, so if anyone is willing to do that…V2 or V3.

Thx !

The rewrite of the discord library offers this information (V3):
But its possible that this is None.

Hey there,

We’re closing any bounties that have gone unclaimed for over 60 days. If you feel like this is an error, or are still interested in this bounty. Please flag this post with the Something Else category and state if you believe if this was a mistake, or if you’re still interested in this bounty.