Skip to content

CoderRounak/roBOT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roBOT

your own locally hosted discord bot :D

Add roBOT to your server!

Installation 🧐

  • Make sure you’re logged on to the Discord.
  • Navigate to the Discord Developer's Application Page.
  • Click on the New Application button.
  • Give the Application a Name and click on Create.
  • Go to the Bot Tab and then click Add Bot. You will have to confirm by clicking Yes, do it!.
  • Keep the default settings for Public Bot (checked) and Require OAuth2 Code Grant (unchecked).
  • Copy the token from 'Bot' Tab. (Don't share it with anybody)
  • Go to the OAuth2 Tab. Then select Bot under the scopes section.
  • Now choose the permissions you want for the bot. (Be careful with the Administrator permission.)
  • Copy the URL by clicking Copy button above the permissions.
  • Paste the URL into your browser, choose a server to invite the bot to, and click Authorize.(To add the bot, your account needs Manage Server permissions.)
  • Now you've created the bot user and added it into a server. Now start writing the Python code for the bot.
  • Run pip install -r requirements.txt
  • In the .env file, paste the required keys as: TOKEN=YOUR_TOKEN (replace 'YOUR_TOKEN' with your token) RAPID_API=YOUR_API_KEY (replace 'YOUR_API_KEY' with your API key) OPEN_WEATHER_TOKEN=YOUR_TOKEN (replace 'YOUR_TOKEN' with your API key)

Working 🤔

roBOT reacts with 👍 or 👎 after each successful or unsuccessful command execution

You can use roBOT for:

  • Channel moderations
  • Trivia and jokes
  • Play games (tossing a coin, rolling a dice, rock paper scissors, etc)
  • Quiz
  • Polls
  • Cleaning up a channel's chats
  • Searching (Wikipedia, DuckDuckGo, movies, music, word meanings, etc)
  • Solving Math problems
  • Updates on COVID-19 or weather

(the list will only keep expanding 😜)...

Contributions are always welcome. Visit our contributing guidelines before making any contributions.

About

an amateur bot by amateur developers!

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.5%
  • Shell 0.5%