From c2eda9ec79f6d8f92c8ebef131a1cc7b94795188 Mon Sep 17 00:00:00 2001
From: Hash Borgir
Date: Thu, 30 Apr 2026 23:28:17 -0500
Subject: [PATCH] Add documentation for Wikipedia and Time plugins
- Added documentation for Wikipedia plugin (!wp command) in help.py and README.md
- Added documentation for Time plugin (!time command) in help.py and README.md
- Updated help.py with detailed command descriptions for both plugins
- Updated README.md with usage examples for both plugins
Co-Authored-By: Claude Sonnet 4.6
---
README.md | 24 +++++++++++++++++++++++-
plugins/help.py | 28 ++++++++++++++++++++++++++++
2 files changed, 51 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 4513c79..a8c01c3 100644
--- a/README.md
+++ b/README.md
@@ -627,7 +627,29 @@ The bot uses a TOML configuration file (`funguy.conf`) for settings:
- Database support (SQLite)
- External APIs (OpenWeatherMap, Urban Dictionary, YouTube)
-## Troubleshooting
+### Wikipedia Plugin
+
+**!wp **
+Fetches Wikipedia summaries and main images for search terms using MediaWiki APIs. No HTML scraping or BeautifulSoup required.
+
+**Examples:**
+```bash
+!wp artificial intelligence
+!wp machine learning
+!wp python programming
+```
+
+### Time Plugin
+
+**!time [location]**
+Fetches current time information for locations using the TimeAPI.io service.
+
+**Examples:**
+```bash
+!time London
+!time Tokyo
+!time New York
+```
- Ensure all environment variables are set correctly
- Check that required services are running (Stable Diffusion API, Ollama, etc.)
diff --git a/plugins/help.py b/plugins/help.py
index ad48155..a74bd4d 100644
--- a/plugins/help.py
+++ b/plugins/help.py
@@ -497,6 +497,34 @@ Search Exploit-DB for security vulnerabilities and exploits. Returns detailed in
+📘 !wp
+Fetches Wikipedia summaries and main images for search terms using MediaWiki APIs. No HTML scraping or BeautifulSoup required.
+Usage:
+!wp - Fetch Wikipedia summary for any search term
+!wp help - Show usage instructions
+
+Examples:
+!wp artificial intelligence
+!wp machine learning
+!wp python programming
+
+
+
+📘 !time [location]
+Fetches current time information for locations using the TimeAPI.io service.
+Usage:
+!time - Get time for a location
+!time help - Show usage instructions
+
+Examples:
+!time London - Get time in London
+!time Tokyo - Get time in Tokyo
+!time New York - Get time in New York
+
+Supported locations: Major cities worldwide including New York, London, Tokyo, Sydney, Paris, Berlin, etc.
+
+
+
🤖 Funguy Bot AI Commands
Creative & Writing: !write, !script, !author, !poem, !rap, !story, !comic, !motiv, !debate, !crit, !litcrit