A Discord bot written in Go that fetches information about accounts on various social media platforms.
git clone github.com/808hype/socialbot.git
The YouTube channel ID can easily be obtained from the URL. If the user has a custom URL, click one of his/her videos, then copy the link address of the channel name and get the ID from there.
Assuming you already have a Go development environment set up, these are the only steps you need to take.
First, enter your Discord bot token and Google API key into the config.json file.
Next, run the program. That's it.
go run main.go
At the moment, the only command is !youtube <channel-id>
, which fetches basic information about the specified YouTube channel.
In the future, I may implement Twitter and Instagram.