Giter VIP home page Giter VIP logo

python-discord-bot-template's Introduction

Python Discord Bot Template

Python Versions Project Version

This repository is a template that everyone can use for the start of their discord bot.

When I first started creating my discord bot it took me a while to get everything setup and working with cogs and more. I would've been happy if there were any template existing. But there wasn't any existing template. That's why I decided to create my own template to let you guys create your discord bot in an easy way.

Authors

Support

If you need some help for something, do not hesitate to join my discord server here.

All the updates of the template are available here.

How to download it

This repository is now a template, on the top left you can simple click on "Use this template" to create a GitHub repository based on this template.

Alternatively you can do the following:

How to setup

To setup the bot I made it as simple as possible. I now created a config.py file where you can put the needed things to edit.

Here is an explanation of what everything is:

Variable What it is
BOT_PREFIX The prefix(es) of your bot
TOKEN The token of your bot
APPLICATION_ID The application ID of your bot
OWNERS The user ID of all the bot owners
BLACKLIST The user ID of all the users who can't use the bot
STARTUP_COGS The cogs that should be automatically loaded when you start the bot

How to start

To start the bot you simply need to launch, either your terminal (Linux, Mac & Windows) or your Command Prompt (Windows).

If you have multiple versions of python installed (2.x and 3.x) then you will need to use the following command:

python3 bot.py

or eventually

python3.8 bot.py

If you have just installed python today, then you just need to use the following command:

python bot.py

Built With

Issues or Questions

If you have any issues or questions of how to code a specific command, you can:

  • Join my discord server here
  • Post them here

Me or other people will take their time to answer and help you.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Bots who used this template

DM Krypton#2188 to get yourself in this list

License

This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details

python-discord-bot-template's People

Contributors

kkrypt0nn avatar e0lnt3xbmlcy45pnscomb2qr1zl5ftckljzmgu2 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.