-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Xeno edited this page Aug 3, 2022
·
7 revisions
Not at this time, but with the new 2.0 release the bot is very close to allowing custom assets/oracles to being included as a user manageable feature
Yes (probably). If it's not already planned I'll try and add it to the schedule, if it is already planned knowing that people want it will help me prioritize what features to add. Post a comment to let me know.
I don't feel like it's really needed anymore with slash commands. An "about" command might be added at some point.
Yes! It has been challenging to select the most common options for oracles/moves, so any input on what to include would be appreciated.
- Clone the git repo
- Build using dotnet build or visual studio
- Install and configure a PostgreSQL Server
a. Create a new database and db user for the bot to use
b. Create a database settings file named
dbSettings.json
in your bot's bin folder so the bot knows how to connect. It should have a structure similar to this:
{
"dbConnectionString":"Host=localhost;Port=5432;Database=NameOfDbYouCreated;Username=BotDbUser",
"dbConnectionStringWithPort":"host=127.0.0.1 port=5432 dbname=NameOfDbYouCreated connect_timeout=10 user=BotDbUser",
"dbConnectionStringOff":"postgresql://BotDbUser@localhost:5432/NameOfDbYouCreated",
"dbPassword":"YourDbUserPassword"
}
- Get a discord bot token from the discord developer portal
- Start the bot server, paste your token when prompted. (If you need to change the token it's stored in the token.json file in your server's folder)
- Join your bot to a discord server