Doc (Discord Dictionary Bot)

A discord dictionary bot created using discord.py . It can also answer general Q&A ( using OpenAI's GPT3 ) .



Doc is a Discord bot with features of a dictionary(and more) that is easy to set up and use ! Source Code

Features

  • Get the definition of the any word in the english dictionary.
  • Get other details about the word like phonetics and part of speech.
  • Get examples in which the word is used.
  • Get synonyms and antonyms.
  • Get the closest gif of the word .
  • Get to know about the origin of the word.
  • Get the pronunciation to the word.
  • Bot can also generate random words.
  • Ask the bot any question !

How to use

  • Invite the bot to the server , using this link.
  • Type !help after inviting the Bot for more detailed information about the commands.
  • These are the commands ,
    • !status <word> Status of the bot.
    • !all <word> Gives all the information about the word
    • !define <word> Gives the definition of the word
    • !phonetic <word> Phonetic
    • !org <word> Origin of the word
    • !example <word>An example of the word
    • !pos <word> Part of Speech
    • !pro <word> Gives the pronunciation
    • !syn <word>Synonyms of the word
    • !ant <word>Antonyms of the word
    • !gif <word> Gif of the word
    • !ques <question> Answers general questions (may not be factually right)!
    • !ran Gives all information about a random word
    • !help Help command

Libraries / API’s Used

Requirements

pip install discord.py giphy_client openai requests

Demo

Use of the all command

all-command

Use of the ques command

ques-command2

ques-command

Use of the define command

define-command