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 <noreply@anthropic.com>
This commit is contained in:
2026-04-30 23:28:17 -05:00
parent 76b0c87e0c
commit c2eda9ec79
2 changed files with 51 additions and 1 deletions
+23 -1
View File
@@ -627,7 +627,29 @@ The bot uses a TOML configuration file (`funguy.conf`) for settings:
- Database support (SQLite) - Database support (SQLite)
- External APIs (OpenWeatherMap, Urban Dictionary, YouTube) - External APIs (OpenWeatherMap, Urban Dictionary, YouTube)
## Troubleshooting ### Wikipedia Plugin
**!wp <search term>**
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 - Ensure all environment variables are set correctly
- Check that required services are running (Stable Diffusion API, Ollama, etc.) - Check that required services are running (Stable Diffusion API, Ollama, etc.)
+28
View File
@@ -497,6 +497,34 @@ Search Exploit-DB for security vulnerabilities and exploits. Returns detailed in
</p> </p>
</details> </details>
<details><summary>📘 <strong>!wp <search term></strong></summary>
<p>Fetches Wikipedia summaries and main images for search terms using MediaWiki APIs. No HTML scraping or BeautifulSoup required.<br>
<strong>Usage:</strong><br>
<code>!wp <search term></code> - Fetch Wikipedia summary for any search term<br>
<code>!wp help</code> - Show usage instructions<br>
<br>
<strong>Examples:</strong><br>
<code>!wp artificial intelligence</code><br>
<code>!wp machine learning</code><br>
<code>!wp python programming</code>
</p>
</details>
<details><summary>📘 <strong>!time [location]</strong></summary>
<p>Fetches current time information for locations using the TimeAPI.io service.<br>
<strong>Usage:</strong><br>
<code>!time <location></code> - Get time for a location<br>
<code>!time help</code> - Show usage instructions<br>
<br>
<strong>Examples:</strong><br>
<code>!time London</code> - Get time in London<br>
<code>!time Tokyo</code> - Get time in Tokyo<br>
<code>!time New York</code> - Get time in New York<br>
<br>
<strong>Supported locations:</strong> Major cities worldwide including New York, London, Tokyo, Sydney, Paris, Berlin, etc.
</p>
</details>
<details><summary><strong>🤖 Funguy Bot AI Commands</strong></summary> <details><summary><strong>🤖 Funguy Bot AI Commands</strong></summary>
<p> <p>
<strong>Creative & Writing</strong>: !write, !script, !author, !poem, !rap, !story, !comic, !motiv, !debate, !crit, !litcrit<br> <strong>Creative & Writing</strong>: !write, !script, !author, !poem, !rap, !story, !comic, !motiv, !debate, !crit, !litcrit<br>