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!
- GutenDex API
- XKCD-API
- SemWiseResourcesIIIT by aflah02
- Brooklyn Nine Nine Quotes
- Discord.py: API Wrapper for Discord Bots
- Meme-API
- Dictionary-API
You can test the bot on a demo server we have created.
$memes: Gets random wholesome memes from Reddit.$xkcd: Gets a random XKCD comic.$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.$b99: Gets a random dialogue from Brooklyn Nine Nine.$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.$define: (Use$define <word>) Returns the definition of the word.$help: Returns this menu.
API token has to be stored in a .env file as an environment variable called TOKEN
- 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
botin the Scopes section, andSend Messages,Send Messages in Threads,Send TTS Messages,Embed Links, andAttach Filesin 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.envfile in your working directory. - Install the prerequisite libraries:
python3 -m pip install -U discord.pypython3 -m pip install requests
- Run bot.py.
- Message
$helpin a channel in your server to get the list of commands.
We would like to thank @aflah02 for allowing us to use his resources repository in our project.