Add Last.fm integration plugin with YouTube link support
- Added Last.fm plugin for tracking currently playing music with !register and !np commands - Added YouTube API integration to provide links to currently playing songs - Updated help.py and README.md with documentation for the new plugin - Plugin stores user associations in SQLite database - Added YouTube API key to .env file for YouTube search functionality - Supports displaying track name in bold text with album information when available - Added YouTube link to songs when available
This commit is contained in:
@@ -358,6 +358,32 @@ Search Exploit-DB for security vulnerabilities and exploits. Returns detailed in
|
||||
<em>Note: SSLv2/SSLv3 testing limited by Python security features</em></p>
|
||||
</details>
|
||||
|
||||
<details><summary>🎵 <strong>Last.fm Integration</strong></summary>
|
||||
<p>Register your Last.fm username and display currently playing tracks.</p>
|
||||
<p><strong>Commands:</strong></p>
|
||||
<ul>
|
||||
<li><code>!register <username></code> - Register your Last.fm username</li>
|
||||
<li><code>!np</code> - Display your currently playing track from Last.fm</li>
|
||||
</ul>
|
||||
<p><strong>Features:</strong></p>
|
||||
<ul>
|
||||
<li>Associate your Matrix ID with your Last.fm username</li>
|
||||
<li>Display currently playing tracks with artist and album information</li>
|
||||
<li>Uses SQLite database to store user associations</li>
|
||||
<li>Requires LASTFM_API_KEY environment variable</li>
|
||||
</ul>
|
||||
<p><strong>Examples:</strong></p>
|
||||
<ul>
|
||||
<li><code>!register your_lastfm_username</code> - Register your Last.fm username</li>
|
||||
<li><code>!np</code> - Show your currently playing track</li>
|
||||
</ul>
|
||||
<p><strong>Requirements:</strong></p>
|
||||
<ul>
|
||||
<li>LASTFM_API_KEY in .env file</li>
|
||||
<li>Last.fm account at last.fm</li>
|
||||
</ul>
|
||||
</details>
|
||||
|
||||
|
||||
|
||||
<details><summary>📸 <strong>!sd [prompt]</strong></summary>
|
||||
|
||||
Reference in New Issue
Block a user