Code Monkey home page Code Monkey logo

aixingbot's Introduction

aixingBot

A Python based Discord Bot.

built-with-python built-with-love

MIT license

This is very much still a work in progress as it has been developed primarily as a learning tool (there is no harm in coming up with cool features and improvement, though).

Thinking of contributing?

Please create an issue first detailing what features or improvements you wish to make. We would also ask that you please stick to the PEP8 style guild in your coding; e.g.

  • DO def something(arg1, arg2) vs
  • DO NOT def something(arg1,arg2)
  • DO users = something vs
  • DO NOT users=something

NOTE- It is recommended that you add your own discord token while running the bot.

  • To test the bot you will also need Admin access to a discord server.

Hosting the bot on your own machine:

  • NOTE: To replicate this bot, you will need a bot token. Go get yours at https://discord.com/developers/ (If you need help with this step, feel free to ask for help in our the py-awesomescripts server).

  • Clone this repo using git clone

  • cd into the bot folder.

  • You'll need to set an environment variable DISCORD_TOKEN and set it equal to your token. This is what the python-dotenv module is used for. (You can make env variables by creating a .env file that contains export DISCORD_TOKEN="<TOKEN>")

  • Install discord.py module:

      python -m pip install discord.py
    
  • Install requirements from requirements.txt

      pip install -r requirements.txt
    
  • Run the bot using: python aixing_bot.py

  • Enjoy! (don't forget to add your own bot into your discord server by generating an invite link from the discord developers application page in OAuth2 section and choose application and check Oauth2 section)

Requirements:

  • python 3
  • discord(rewrite branch)
  • asyncio(inbuilt with python3.4)
  • python-dotenv

(note this updated README is inspired by vyvy-vi who also has a Python based Discord Bot.

aixingbot's People

Contributors

mikeysan avatar ankushkun 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.