Code Monkey home page Code Monkey logo

randi's Introduction

randi

Description

randi is a discord bot posting xkcd comic. Using an in-house index created from the transcript of the comics, the bot answer to users' queries with a relevant comic.

Table of content

Installation

  • Clone the repo: git clone https://github.com/nhatzHK/randi
  • Install dependencies: (N.B.: Tested only with python 3) pip install discord.pyor pip3 install discord.py depending on your platform.
  • Modify configuration files cd randi
    • xkcd.config.json
    cd json
    cp xkcd.config.json xkcd.config.priv
    # Modify the new file to add the appropriate information
    • xkcd.path.json
    cd ../python/client
    cp xkcd.path.json xkcd.path.json.priv
    # Modify the new file to add the appropriate information

Usage

Make sure the bot is in a server before this step. See here for how to add the bot to a server.

Once the bot is created and add in a server, run it: python xkcd.py xkcd.path.json.priv

To use the bot from discord, use the help command (<prefix>help) to see the commands avvailable and how to use them.

For more detailed usage see here)

Contributing

randi is Open Source. You can clone it, fork it, copy it and of course se it freely and in any way you want that doesn't infringe the license.

You can contribute to randi by taking one of the current issues and solving it or creating an issue yourself. You can also join the development server. You can help. It does not matter if you know programming or not. You can help. Visit the issue list, the project list and the milestine list to find out where the bot's development is headed.

Beginner

If you're a beginner programmer looking to start contributing on a ez-pz project the up-for-grabs issues are for you. Pick one and try to solve it, if you stumble on errors, aka problems, join the server or seek for help in the comment section of the issue.

randi's People

Contributors

nhatzhk avatar mlposey avatar evalelynn avatar ldelelis avatar

Watchers

James Cloos avatar  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.