Discord bot for keeping track of user time zones.
Find a file
dependabot[bot] 30c08016d2
Bump rexml from 3.2.5 to 3.2.8 in /Docs
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.5 to 3.2.8.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.5...v3.2.8)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 20:30:01 +00:00
.config Switch to .NET 8 2024-05-09 23:06:20 -07:00
.vscode Fix project paths 2024-05-09 23:08:31 -07:00
Commands Modify some strings 2024-05-09 23:39:10 -07:00
Data Implement code style suggestions 2024-05-09 23:22:51 -07:00
Docs Bump rexml from 3.2.5 to 3.2.8 in /Docs 2024-05-16 20:30:01 +00:00
.editorconfig Switch to .NET 8 2024-05-09 23:06:20 -07:00
.gitignore Rewrite to C# 2021-11-17 18:09:53 -08:00
BackgroundUserListLoad.cs Add user list fetch background task 2022-08-30 19:34:41 -07:00
Configuration.cs Load database config on initialization 2022-08-09 18:40:14 -07:00
License.txt Update copyright date / contact email 2023-02-19 10:22:11 -08:00
Program.cs Better handling of program shutdown 2023-06-11 19:09:04 -07:00
Readme.md Switch to .NET 8 2024-05-09 23:06:20 -07:00
WorldTime.cs Implement code style suggestions 2024-05-09 23:22:51 -07:00
WorldTime.csproj Switch to .NET 8 2024-05-09 23:06:20 -07:00

World Time

A social time zone reference tool!

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": "worldtime", // optional
    "SqlUser": "worldtime", // required
    "SqlPassword": "mypassword" // 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