Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bots making Event

Needed:

How to run :

  • Clone the repository
      $ git clone https://github.com/nisbweb/Discord-Bot-Making-Workshop.git
    
  • Install Discord.py python module for discord bots.
      $ pip install discord.py
    or for Linux
      $ pip3 install discord.py
    
    Mac
      $ python3 -m pip install discord.py
    
  • Get your bots token from the discord developers page, By selecting your application , going into the bots navigation menu and copying the secret token generated.
  • Add the token in the files at the places mentioned.
  • Add the bot to the server, by generating a link in the OAuth tab of the bot page.
  • Run the python file
      $ python <file name>.py
    

Further additions:

  • Host the bot so that it will constantly run, Heroku, Okteto, Civo , AWS etc are all viable options
  • Make multipurpose bots with a varied range of commands.
  • Add logging and error handling in the bot.

NOTE:

  • If you get a invalid certificate issue,
    • open Internte explorer in administrator mode
    • go to www.discord.com
    • click on the padlock next to the url
    • View certificate and install certificate

About

This repository contains all the code and additional resources for the Discord Bot making workshop conducted on 3rd Oct 2020

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages