Giter VIP home page Giter VIP logo

discord-bot's Introduction

Discord Dictionary Bot, "Case"

A discord bot that can respond with various different descriptions of the word, based on the command.

(Task ID : Discord Dictionary Bot)

Setup Instructions

  • Create a bot in this link and copy the token that is generated for the bot, and paste it in the code where the bot token is to be inserted.
  • In order to make the $query command available, create an account in openAI and get the API key and paste it in the code where the openAI key is to be inserted.
  • Add the bot to the server of choice.
  • Type $help for further instructions.

Features

  • Get the meaning of a word
  • Get the part of speech the word belongs to
  • Find out the origin of the word
  • Learn how to pronounce the word through phonetics
  • Learn how to use the word in a sentence
  • Get the synonyms of the word
  • Ask the bot questions to get a witty answer

How to use

  • Invite the bot to the server, by clicking on this link.
  • All the commands are to be preceded by '$', type $help to know what commands you can use, and what those commands can do.
    • $all To get all the information about the word
    • $definitionTo get the meaning of the word
    • $pos To get the part of speech the word belongs to
    • $org To find out about the origin of the word
    • $phoneticTo learn about the pronounciation of the word
    • $usageTo see the word being used in a sentence
    • $synTo obtain the synonyms of the word
    • $antTo obtain the antonyms of the word
    • $queryTo talk to the bot

Libraries/APIs used

Requirements

pip install discord.py openai requests

Demo

$help <word>

$all <word>

$query <word>

The demo video of the bot working can be found in this link.

discord-bot's People

Contributors

chinmayasharma-hue avatar

Watchers

Ashwin P avatar  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.