Miki
Your solution to a great Discord Community! Adding levels, role management, achievements, profiles, image search, games, and many more!
Build status
Platform | Status |
---|---|
Ubuntu | |
Docker |
Useful links
Bot invite: https://miki.bot/invite?ref=github
Documentation: https://github.com/velddev/Miki/wiki
Guides: https://miki.bot/guides
Issues: https://github.com/Mikibot/bot/issues
Patreon: https://www.patreon.com/mikibot
Support server: https://discord.gg/39Xpj7K
Feature requests
Getting Started
Important:
Currently the Miki API is private, meaning you won't have access to the leaderboards until the API is released publicly. More information will be available here when that happens.
Note that it is currently not possible to build the entire project without access to private dependencies. If you wish to contribute and need help to circumvent the private dependencies, DM Zenny#0001
.
Do not ask related questions in the support server, as a majority of the people there will not be able to assist you.
Installation Steps:
Source
- Clone the miki bot repository Windows, Linux
$ git clone https://github.com/mikibot/bot && cd bot
-
Download PostgreSQL and set up a database called
Miki
. -
Copy
launchSettings.template.json
and fill in your PostgreSQL properties.
$ cp src/Miki/Properties/launchSettings.template.json src/Miki/Properties/launchSettings.json
- Run tools/setup.sh and follow the settings.
$ tools/setup.sh
Docker
- Clone the Miki bot repository
$ git clone https://github.com/mikibot/bot && cd bot
- Copy example.env and fill in your properties.
$ cp example.env .env
-
Ensure you have the environment variable
PRIVATE_NUGET_PAT
set in your environment. This requires a valid PAT token for Miki's private dependencies, which can only be granted by the Miki team. -
Docker-compose
$ docker-compose up
Possible issues:
These will likely be fixed in the near future:
-
A lack of API keys might be giving you issues in the
DonatorModule
andFunModule
, the simplest way to solve it is to just comment out the lines that raise exceptions and the lines that reference the client (there shouldn't be more than 2 reference max. -
Setting up your development environment requires two manual steps in the database.
- Add a configuration row in the
Configuration
table, filling in at least theId
andToken
fields according to your test Discord bot. - Within the
Users
table, add a new User with an ID of1
. This user serves as your global Miki bank, so make sure that you set its currency to a high amount.