Open EverOddish opened 5 years ago
Implement the !followage command to display how long a user has been following the configured Twitch channel.
Use of the Twitch API will be necessary. Here is the documentation for the required endpoint: https://dev.twitch.tv/docs/api/reference/#get-users-follows
For an example, see the section of code on converting a user ID to a user name in the dashboard code: https://github.com/EverOddish/DrFujiBot/blob/master/DrFujiBot_Django/dashboard/views.py#L160
See Adding New Built-In Commands for how to create a new command.
Implement the !followage command to display how long a user has been following the configured Twitch channel.
Use of the Twitch API will be necessary. Here is the documentation for the required endpoint: https://dev.twitch.tv/docs/api/reference/#get-users-follows
For an example, see the section of code on converting a user ID to a user name in the dashboard code: https://github.com/EverOddish/DrFujiBot/blob/master/DrFujiBot_Django/dashboard/views.py#L160
See Adding New Built-In Commands for how to create a new command.