Discord birthday reminder bot.
Find a file
dependabot[bot] 34bc8ef0fe
Bump Npgsql from 7.0.4 to 8.0.3
Bumps [Npgsql](https://github.com/npgsql/npgsql) from 7.0.4 to 8.0.3.
- [Release notes](https://github.com/npgsql/npgsql/releases)
- [Commits](https://github.com/npgsql/npgsql/compare/v7.0.4...v8.0.3)

---
updated-dependencies:
- dependency-name: Npgsql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 15:43:02 +00:00
.vscode Explicit config path in args 2023-01-16 21:28:05 -08:00
ApplicationCommands Formatting fixes; add global name to export 2023-09-10 22:13:51 -07:00
BackgroundServices Fix tickCount incrementing more than once per tick 2023-12-08 20:45:40 -08:00
Data Replace preconditions with Discord permissions 2023-02-03 22:55:00 -08:00
Docs Update documentation site text 2023-01-24 19:42:57 -08:00
.editorconfig Import updated code style from other project 2022-05-25 08:52:51 -07:00
.gitignore First commit for C# rewrite 2020-04-02 11:38:26 -07:00
BirthdayBot.csproj Bump Npgsql from 7.0.4 to 8.0.3 2024-05-09 15:43:02 +00:00
Common.cs Formatting fixes; add global name to export 2023-09-10 22:13:51 -07:00
Configuration.cs Add option to disable connection logging 2023-05-27 18:46:28 -07:00
License.txt Update copyright date / contact email 2023-02-19 10:19:17 -08:00
Program.cs Better handling of program shutdown 2023-06-11 18:10:46 -07:00
Readme.md Add project-centric readme 2023-01-24 19:56:21 -08:00
ShardInstance.cs Remove extraneous log messages 2023-09-04 17:41:10 -07:00
ShardManager.cs Merge pull request #53 from NoiTheCat/dev/new-usernames 2023-11-14 17:40:16 -08:00

Birthday Bot

An automated way to recognize birthdays in your community!

ko-fi

Documentation, help, resources

Running your own instance

You need:

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 ef database update -- -c path/to/config.json

And finally, to run the bot:

$ dotnet run -c Release -- -c path/to/config.json