Code Monkey home page Code Monkey logo

bot-1's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.