Skip to content

A simple Discord bot that can fetch definitions and post them in chat. If you are connected to a voice channel, the bot will also read out the definition to you.

License

Notifications You must be signed in to change notification settings

TychoTheTaco/Discord-Dictionary-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Dictionary Bot

A Discord bot that can fetch definitions and post them in chat. If you are connected to a voice channel, the bot can also read out the definition to you. Dictionary bot can also translate words and phrases to many different languages! Invite Dictionary Bot to your server! Check out the website for more information.

Usage

Please see the website for a list of commands.

Installation

Requirements

Below is a list of APIs that are currently used by the bot. To run the bot yourself, you will need to provide your own API key for these services.

Additionally, you will need FFmpeg.

Installation

To install, simply run pip install . in the project's root directory. You can then run the bot using python -m discord_dictionary_bot along with the appropriate arguments described below.

Dictionary API's

This bot supports the following dictionary API's.

Name Description
google Unofficial Google Dictionary API
owlbot Owlbot
webster-collegiate Merriam Webster Collegiate
webster-medical Merriam Webster Medical
rapid-words RapidAPI WordsAPI

Program Arguments

Argument Description
‑‑discord‑token <token> Your discord bot token.
‑‑google‑credentials‑path <path> Path to the Google application credentials file.
‑‑ffmpeg‑path <token> Path to the FFmpeg executable.
‑‑dictionary‑api <apis> Determines which dictionary API's to use. Multiple API's can be specified by separating each API name with a comma. The bot will use them in the order provided. This is useful for when the preferred API fails.
‑‑owlbot‑api‑token <token> Your Owlbot API token. Only required if using the owlbot API.
‑‑webster‑collegiate‑api‑token <token> Your Merriam Webster API token. Only required if using the webster-collegiate API.
‑‑webster‑medical‑api‑token <token> Your Merriam Webster API token. Only required if using the webster-medical API.
‑‑rapid‑words‑api‑token <token> Your RapidAPI WordsAPI token. Only required if using the rapid-words API.

Credits

Dictionary icon

This icon was modified from the original.
dictionary by Oriol Sallés from the Noun Project

About

A simple Discord bot that can fetch definitions and post them in chat. If you are connected to a voice channel, the bot will also read out the definition to you.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages