Discord bot for keeping track of user time zones.
Find a file
Noi 243d931d70
Change license to AGPLv3
I've changed my mind regarding licensing.

I intend to keep this project freely available with as few limitations as possible. I wish to extend this goal towards any additions or changes that may be made in the future.
2024-06-23 19:51:07 -07: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
COPYING Change license to AGPLv3 2024-06-23 19:51:07 -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