mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 13:54:36 +00:00
Discord birthday reminder bot.
0e361093b7
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf) from 3.21.12 to 3.25.5. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.12...v3.25.5) --- updated-dependencies: - dependency-name: google-protobuf dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.config | ||
.vscode | ||
ApplicationCommands | ||
BackgroundServices | ||
Data | ||
Docs | ||
.editorconfig | ||
.gitignore | ||
BirthdayBot.csproj | ||
Common.cs | ||
Configuration.cs | ||
COPYING | ||
Program.cs | ||
Readme.md | ||
ShardInstance.cs | ||
ShardManager.cs |
Birthday Bot
An automated way to recognize birthdays in your community!
Documentation, help, resources
Running your own instance
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:
{
"BotToken": "your bot token here",
"SqlHost": "localhost", // optional
"SqlDatabase": "birthdaybot", // optional
"SqlUser": "birthdaybot", // required
"SqlPassword": "birthdaybot" // required; no other authentication methods are currently supported
}
Then run the following commands:
$ dotnet restore
$ dotnet tool restore
$ dotnet ef database update -- -c path/to/config.json
And finally, to run the bot:
$ dotnet run -c Release -- -c path/to/config.json