WordWiz Bot Documentation
Overview

WordWiz is a Discord bot designed to provide synonyms, antonyms, and definitions for words using the Merriam-Webster API. The bot processes user input via slash commands and returns relevant word information in an easy-to-read format.

Features

  • Retrieves synonyms, antonyms, and definitions for words.

  • Supports slash commands for intuitive interaction.

  • Allows users to choose the number of results via a dropdown menu.

  • Provides real-time responses without storing user data.

How It Works

  1. User Input: The user enters a slash command in Discord, such as /synonym happy.

  1. Processing: The bot sends a request to the Merriam-Webster API with the specified word.

  2. User Selection: The bot prompts the user to select how many results to display (3, 5, 10, or all) using a dropdown menu.

  1. Response: The bot formats and displays the results in Discord.

Available Commands

  • /synonym [word] - Returns a list of synonyms for the specified word.

  • /antonym [word] - Returns a list of antonyms for the specified word.

  • /define  [word] - Provides the definition of the specified word.