BorisGangBot is a project of mine to create my own fully fleshed out bot for my friends and I's discord server.
The bot is (or is going to be) capable of:
Bot is in a somewhat stable state. I believe I've fixed most of the bugs inside Live Stream Monitor such as duplicate alerts, failing to find streamers, not updating the streamers list, etc. Short term testing shows no issues so far, have currently testing long term. The code through out the program is still pretty inefficient and hard to read, but I'll be rewriting a majority of the code once I get music playing functionality up and running.
I've just pushed an update to make the bot very easy to just clone the repository and run, but you must follow this step first. You'll need to create a _config.yml file in the base directory (where StartUp.cs is) containing the following:
prefix: ;
tokens:
tw_cID: YourTwitchClientIdHere
tw_token: YourTwitchTokenHere
discord: YourDiscordBotTokenHere
discord_testing: YourDebuggingDiscordBotTokenHere
botActivity:
activity: listening/playing/watching/streaming
description: ;h for help
liveStreamMono:
updIntervalSeconds: 30
notifChannelName: stream-updates
It may be ugly code, but I'm sure it can offer plenty of assitance to anyone who may run into some awkward problems. If you would like me to clarify on a block of code, how I did something, or what something does, please don't hesitate to create an issue flagged as a question or even one asking that I return to a block of code and add comments explaining what's going on. I'm happy to assist. This is a learning experience for me and I'd be glad to share what I learn with others along the way.
Anyways, hope someone finds this useful. Took a lot of time to learn all this but should anyone stumble upon this code looking for help in writing a discord bot in C#, it should come in handy a decent bit. Enjoy!