Giter Site home page Giter Site logo

nodoubtbot's Introduction

NoDoubt

Made by @cation03 (Ananya Goyal, 2021011) and @sociallyencrypted (Mehul Arora, 2021066).

NoDoubtBot is a discord bot with various resources to help you with your academic life, and gives you bite sized memes and quotes to help you relax when you're tired!

Resources

Demo Server

You can test the bot on a demo server we have created.

Commands

  1. $memes: Gets random wholesome memes from Reddit.
  2. $xkcd: Gets a random XKCD comic.
  3. $resources: Gets list of courses for which resources are available from Aflah's Github repo. Use $resources <coursename> to get resources for the specific course.
  4. $b99: Gets a random dialogue from Brooklyn Nine Nine.
  5. $getbook: Gets 32 random books from Project Gutenberg. Select a book by entering its number to get the links for the book. Note: You can use $getbook <bookname> to find a specific book.
  6. $define: (Use $define <word>) Returns the definition of the word.
  7. $help: Returns this menu.

Note

API token has to be stored in a .env file as an environment variable called TOKEN

Installation

  • Create an account on the Discord Developer Portal.
  • Create a new Application.
  • Create a new bot from the Bot tab.
  • Create a server on discord to test your bot.
  • On the Developer Portal, go to OAuth2 -> URL Generator.
  • Click bot in the Scopes section, and Send Messages, Send Messages in Threads, Send TTS Messages, Embed Links, and Attach Files in the Permissions section.
  • Use the generated link to add the bot to your server.
  • Copy the API token for the bot from the Token section in the Bot tab.
  • Save the token as TOKEN=<insert token here> in a .env file in your working directory.
  • Install the prerequisite libraries:
    • python3 -m pip install -U discord.py
    • python3 -m pip install requests
  • Run bot.py.
  • Message $help in a channel in your server to get the list of commands.

Thanks

We would like to thank @aflah02 for allowing us to use his resources repository in our project.

nodoubtbot's People

Contributors

cation03 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.