Skip to content
Miki Discord Bot
C# Shell
Branch: master
Clone or download
Latest commit e08351f Jan 24, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update issue templates Jan 8, 2020
cmd Update master to miki 3.0 (#568) Jan 3, 2020
src Fix slots returns Jan 24, 2020
submodules Fix local ranks Jan 23, 2020
test/Miki.Tests Fix gambling bug Jan 16, 2020
tools Migrate SharpRaven to Sentry Jan 7, 2020
.gitignore Update master to miki 3.0 (#568) Jan 3, 2020
.gitmodules Update master to miki 3.0 (#568) Jan 3, 2020

README.md

Miki

lol oily fucked up Codacy Badge
Your solution to a great Discord Community! Adding levels, role management, achievements, profiles, image search, games, and many more!

Build status

Platform Status
Ubuntu 16.04 badge
Windows badge

Useful links

Bot invite: https://miki.ai/invite?ref=github
Documentation: https://github.com/velddev/Miki/wiki
Issues: https://github.com/velddev/Miki/issues
Patreon: https://www.patreon.com/mikibot
Support server: https://discord.gg/39Xpj7K

Feature requests

Go to Suggestions.Miki.ai

Getting Started

Yes, in its current state this process is tedious. However, there will be an installer in the future that will make getting started much simpler.

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.

If you have any questions about the setup process do not ask in the support server, as a majority of the people there will not be able to assist you. DM Xetera#9596 for questions instead.

Installation Steps:

  1. Clone the Miki repository.

  2. Install Miki.Framework and Miki.Rest through NuGet or clone them as well, along with the other dependencies.

  3. Add your bot token in Miki/miki/settings.json.

  4. Download Redis and get that running too.

  5. Download PostgreSQL and set up a database called Miki.

  6. Configure your connection string in Miki/miki/settings.json as such (if using localhost):

"connection_string": "Server=127.0.0.1;Port=5432;User Id=postgres;Database=Miki;"
  1. Install the uuid-ossp postgres extensions on the Miki database.
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
  1. Run existing migrations inside the base Miki solution through the NuGet Package Manager Console with Update-Database

    • Tools -> NuGet Package Manager -> Package Manager Console
  2. Run Miki. 🎉

Possible issues:

These will likely be fixed in the near future (if it's not already by the time you're reading this):

  • A lack of API keys might be giving you issues in the DonatorModule and FunModule, 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, if so, you're doing something wrong).

  • If you're having trouble running migrations make sure your EntityFramework for both base Miki and Miki.Framework is on version 2.0.1-2.0.3 NOT 2.1.1.

You can’t perform that action at this time.