A Discord bot that allows users to search and read Wikipedia articles directly within Discord. Built with discord.py and the Wikipedia API.
- 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
/search <query>- Search for Wikipedia articles/article <title>- Directly view a specific article/ping- Check bot latency/about- View information about the bot
- Use
/searchfollowed by your query - Click on any result to read the article
- Navigate through multiple results using "Previous Results" and "More Results" buttons
- 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
#Install official bot
- Clone the repository
git clone https://github.com/DaDevMikey/WikiBot.git- Install required packages
pip install discord.py wikipedia-api-
Configure the bot
- Create a Discord application at Discord Developer Portal
- Get your bot token
- Replace
'YOUR_BOT_TOKEN'inmain.pywith your actual token
-
Run the bot
python main.py- Python 3.8 or higher
- discord.py
- wikipedia-api
- Discord Bot Token
Feel free to contribute to this project by:
- Forking the repository
- Creating a new branch
- Making your changes
- Submitting a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Website: nexas-development.vercel.app
- GitHub: @DaDevMikey
If you encounter any issues or have suggestions, please open an issue on GitHub.
- Built with discord.py
- Wikipedia content accessed through wikipedia-api