Discord bot for keeping track of user time zones.
Find a file
2024-05-09 22:53:47 -07:00
.vscode Explicit config path in args 2023-01-14 20:55:21 -08:00
Commands Remove top 20 distinct zone limit 2024-01-29 11:06:51 -08:00
Data Add migration for new database column 2023-09-09 11:46:50 -07:00
Docs Small rewrites to page 2023-01-23 19:40:33 -08:00
.editorconfig Rewrite to C# 2021-11-17 18:09:53 -08: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 Add project-centric readme 2023-01-22 18:50:19 -08:00
WorldTime.cs Support new username format 2023-09-09 10:42:08 -07:00
WorldTime.csproj Fix build error 2023-09-10 14:19:48 -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 ef database update -- -c path/to/config.json

And finally, to run the bot:

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