Giter Club home page Giter Club logo

simple-discord-bot's Introduction

Setup

  1. First you must have a bot instance to run this script on. Follow Discord's tutorial here on how to set one up. Be sure to invite it to a server to use it.

  2. Copy entrypoint.py.example to entrypoint.py and put in your bot token.

  3. You can simply run the Dockerfile and your bot will start up, with voice support

  4. If you don't want to use docker, you should probably create a virtualenv first with python -m venv simplebot-venv, and then activate it with source simplebot-venv/bin/activate. Then run pip3 install -r requirements.txt in the repository's root directory to get the necessary libraries.

    • Note that python-Levenshtein requires your system to have a C++ compiler (Visual Studio C++ compiler for Windows or g++ for Linux).
    • Note that for voice support on linux you will need libffi, libnacl, and python3-dev
  5. In the discord console, click on OAuth2 then URL Generator, and under scope select "Bot" and if you want to add slash commands, "applications.commands", and whatever permissions you believe your bot will need.

simple-discord-bot's People

Contributors

27saumya avatar jab416171 avatar

Stargazers

 avatar  avatar

Watchers

 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.