An automated way to recognize birthdays in your community!
You need:
- .NET 8 (https://dotnet.microsoft.com/en-us/)
- PostgreSQL (https://www.postgresql.org/)
- A Discord bot token (https://discord.com/developers/applications)
Get your bot token and set up your database user and schema, then create a JSON file containing the following:
Then run the following commands:
$ dotnet restore
$ dotnet tool restore
$ dotnet ef database update -- -c path/to/config.jsonAnd finally, to run the bot:
$ dotnet run -c Release -- -c path/to/config.json
{ "BotToken": "your bot token here", "SqlHost": "localhost", // optional "SqlDatabase": "birthdaybot", // optional "SqlUser": "birthdaybot", // required "SqlPassword": "birthdaybot" // required; no other authentication methods are currently supported }