add infermatic-text and whois plugins for AI text generation and WHOIS lookups

This commit is contained in:
2026-04-26 02:20:23 -05:00
parent ed62397661
commit 6f86fe679f
10 changed files with 345 additions and 290 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ async def handle_command(room, message, bot, prefix, config):
r = response.json()
# Use secure temporary file
with tempfile.NamedTemporaryFile(suffix='.jpg', delete=False) as temp_file:
with tempfile.NamedTemporaryFile(suffix='.png', delete=False) as temp_file:
filename = temp_file.name
temp_file.write(base64.b64decode(r['images'][0]))