EverOddish / DrFujiBot

DrFujiBot is a client-side Twitch chat bot that provides a command-based interface to Pokemon data.
GNU General Public License v3.0
9 stars 9 forks source link

Implement the !followage command #2

Open EverOddish opened 5 years ago

EverOddish commented 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.