Git Product home page Git Product logo

nya-chan-bot's Introduction

Requirements

This is intended to be used with python 3.x

To create a virtualenv for encapsulating the setup of the program please run:

python3 -m venv venv
source venv/bin/activate

Install the basic requirements by running:

pip install -r requirements.txt

Once that's complete please run the following to install the discord library as the final requirement. (Note: It's currently in beta.)

python3 -m pip install -U "git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice]"

Setup your bot

Please follow the instructions defined here to create your bot in Discord's system and to receive a token for it.

Once you completed them, copy the config/settings.yaml.template to config/settings.yaml and update it with the token you just got and set the other configurations values.

Notes on the values:

  • If you want your bot to behave like on the Geek Beacon server, your prefix key should have the value '!n.'.
  • The values in the startup_cogs list should be written like the filename of the cogs (without .py)

To start the bot simply run:

python NyaChan.py [dev]

Docker integration

Assuming you have docker and docker compose up and running.

Copy docker_environement.template to docker_environment. Update the settings as you desire then simply run:

docker-compose up -d

This will create a new MYSQL instance as the initial blank slate.

nya-chan-bot's People

Contributors

gear4s avatar yamitatsu avatar csg33k avatar lucavazz avatar

Watchers

James Cloos avatar Michael Everitt avatar

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.