Git Product home page Git Product logo

discord.py_tutorial's Introduction

Discord.py_Tutorial

Tutorial for setting up a discord.py bot on host sapling

Using the Template

  • If you don't have discord.py installed go to this url for instructions on that
  • In the bot.py file replace the bot token with your own if you need help this tutorial is helpful
  • Duplicate the example cogs file for each cog you want to make and modify it as needed
Other Info

This a barebones template with some basic info to get you started, the example cog should have enough info to get you started on using commands and embeds

What is a cog?

A cog is a way to sort your commands into categories and clean up your code, they can also be loaded, reloaded and unloaded without having to restart your server which makes modifying easier

Setting up your Server

  • Once you have a server the first step is to log in, depending on when you signed up that will either be panel.factat.bike or https://panel.hostsapling.net/auth/login.
  • Once your logged in navigate to the file manager tab.
  • Upload your files either as a zip or individually, you can then unzip your files by clicking the three dots. If uploading individually make sure you put your cogs in a cogs folder.
  • Create a file called requirements.txt in that file add a line that says: discord.py
  • You should be good to go, navigate to the panel and click start, the first time it will install the needed libraries once it finishes you'll want to press start again and your bot should now be up and running

discord.py_tutorial's People

Contributors

kbots-tech avatar

Watchers

 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.