GithubHelp home page GithubHelp logo

smart-worker / robot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danger-ahead/robot

1.0 0.0 0.0 1.41 MB

an amateur bot by amateur developers!

Home Page: https://discord.com/api/oauth2/authorize?client_id=843553315442130985&permissions=2148002880&scope=bot

License: MIT License

Python 76.28% Shell 0.30% HTML 13.00% SCSS 1.53% CSS 8.27% JavaScript 0.61%

robot's Introduction

roBOT

GitHub repo size GitHub commit activity

your own locally hosted discord bot :D

Discord chat

πŸ€– Add roBOT to your server!

πŸ“· Screenshots of roBOT in action.

πŸ’½ 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 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)

    MONGO=MONGODB_KEY (replace 'MONGODB_KEY' with your MongoDB key.)

πŸ‘·β€β™€οΈ Working

roBOT reacts with πŸ‘ or πŸ‘Ž after each successful or unsuccessful command execution

You can use roBOT for:

  • Channel moderations (looking for offensive words, muting, unmuting, etc)
  • Trivia, memes and jokes
  • Play games (tossing a coin, rolling a dice, etc)
  • 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

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

GitHub contributors

πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.

robot's People

Contributors

belelaritra avatar coderrounak avatar danger-ahead avatar edald123 avatar infuman69 avatar komachian avatar kriptonian1 avatar obitorasu avatar pradumnasaraf avatar pranavtrip avatar riddhiathreya avatar sayantanideb avatar smart-worker avatar soham4abc avatar vidhibhatt01 avatar vivekkj123 avatar

Stargazers

 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.