This is a C# Discord bot made with the Discord.Net API wrapper.
This bot was custom made for the Petcord Discord server.
The bot's main functionality is interfacing with a Google sheet (note: this is not their actual sheet, just a copy of it that was made at the time of this repo creation) and adding the ability to directly and easily use/update the sheet via commands in Discords.
Example of adding a player and their pets the Google sheet, and then displaying them:
Building/running this should only be done for educational purposes, since you wont be able to actually use this yourself. You'd need to have access to the Google sheet.
- Install .NET & .NET Core
 - Clone this repository with
git clone https://github.com/0x464e/petcord-bot - Setup the 
config.json - Navigate yourself to the folder with the 
.csprojfile
cd Petcord/Petcord - Run 
dotnet runto run the program
ordotnet buildto build the program 
- Clone this repository with
git clone https://github.com/0x464e/petcord-bot - Open the solution (
.sln) with Visual Studio - Hit run/debug or build from the Build menu
 
See the documentation for deploying .NET Core apps.
Quick example for deploying a self contained installation:
- Install .NET & .NET Core
 - Clone this repository with
git clone https://github.com/0x464e/petcord-bot - Run 
dotnet publish -c Release -r RIDwhere RID is your desired runtime identifier
e.g.
dotnet publish -c Release -r linux-x64
dotnet publish -c Release -r win-x64 chmod +xthe binary if needed and ensure theconfig.jsonfile is found in the same directory as the binary
