Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WikiBot

A Discord bot that allows users to search and read Wikipedia articles directly within Discord. Built with discord.py and the Wikipedia API.

Features

  • Article Search: Search Wikipedia articles with paginated results
  • Interactive Reading: Read articles with paragraph navigation
  • Rich Content:
    • View article references
    • Access article images
    • Jump to specific paragraphs using dropdown menu
  • User-Friendly Interface:
    • Interactive buttons for navigation
    • Clean embeds for better readability
    • Error handling with clear messages

Commands

  • /search <query> - Search for Wikipedia articles
  • /article <title> - Directly view a specific article
  • /ping - Check bot latency
  • /about - View information about the bot

Usage

Search Articles

  1. Use /search followed by your query
  2. Click on any result to read the article
  3. Navigate through multiple results using "Previous Results" and "More Results" buttons

Read Articles

  • Use the dropdown menu to jump to specific paragraphs
  • Click "Next Paragraph" to read sequentially
  • View references and images using the respective buttons
  • Click "Stop Reading" to end the session

Installation

#Install official bot

  1. Invite link

Install bot yourself

  1. Clone the repository
git clone https://github.com/DaDevMikey/WikiBot.git
  1. Install required packages
pip install discord.py wikipedia-api
  1. Configure the bot

    • Create a Discord application at Discord Developer Portal
    • Get your bot token
    • Replace 'YOUR_BOT_TOKEN' in main.py with your actual token
  2. Run the bot

python main.py

Requirements

  • Python 3.8 or higher
  • discord.py
  • wikipedia-api
  • Discord Bot Token

Contributing

Feel free to contribute to this project by:

  1. Forking the repository
  2. Creating a new branch
  3. Making your changes
  4. Submitting a pull request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Links

Support

If you encounter any issues or have suggestions, please open an issue on GitHub.

Acknowledgments


About

Source code for the Discord bot, WikiBot

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages