• This repository has been archived on 03/Sep/2024
  • Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    C#
  • Created about 8 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Miki Discord Bot

Miki

Miki 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 badge
Docker Build Status

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

Go to Suggestions.Miki.ai

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

  1. Clone the miki bot repository Windows, Linux
$ git clone https://github.com/mikibot/bot && cd bot
  1. Download PostgreSQL and set up a database called Miki.

  2. Copy launchSettings.template.json and fill in your PostgreSQL properties.

$ cp src/Miki/Properties/launchSettings.template.json src/Miki/Properties/launchSettings.json
  1. Run tools/setup.sh and follow the settings.
$ tools/setup.sh

Docker

  1. Clone the Miki bot repository
$ git clone https://github.com/mikibot/bot && cd bot
  1. Copy example.env and fill in your properties.
$ cp example.env .env
  1. 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.

  2. 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 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.

  • Setting up your development environment requires two manual steps in the database.

  1. Add a configuration row in the Configuration table, filling in at least the Id and Token fields according to your test Discord bot.
  2. Within the Users table, add a new User with an ID of 1. This user serves as your global Miki bank, so make sure that you set its currency to a high amount.