Inspiration

A friend of mine who is a YouTuber wanted a bot that will give announcements when he goes live on YouTube, then moves the announcement to a different channel after he concludes the stream. Existing solutions can make announcements, but there are no free solutions which can then move the announcement to a different channel.

What it does

When provided with a YouTube channel to monitor and channels to post information in, it will give announcements in the provided channels when a streamer goes live. After the stream ends, it will then delete the original message and post a message in a channel for ended streams.

How we built it

We built this using JavaScript through node.js and APIs for YouTube and Discord.

Challenges we ran into

Having never worked with YouTube APIs before, we had a lot of learning to do to get this connection working. Additionally, there are API limits without paying.

Accomplishments that we're proud of

We have finished most everything on the Discord side of the bot, including config and such. We also have figured out how to programatically find YouTube channel IDs by channel name.

What we learned

We learned quite a bit about Google APIs and how to connect and authenticate with them, and got a little bit into using them to get details about YouTube channels. We also learned a bit about Discord bots, although we had some previous experience on this side.

What's next for Agent Smith

The next thing we need to do is actually get the bot to detect livestreams. All the necessary connections are in place, but we need to figure out how to actually get livestream information still.

Built With

Share this project:

Updates