i havent bothered to test the image & pdf funcs but we ball

This commit is contained in:
xory 2025-08-15 11:23:10 +00:00
parent 4721b685b4
commit 9b78aa2ce5
3 changed files with 54 additions and 5 deletions

View file

@ -3,7 +3,7 @@ from google.genai import types
from dotenv import load_dotenv
from discord import app_commands
from discord.ext import commands
from tools import searxng, open_url
from tools import searxng, open_url, run_command
import os
import io
import discord
@ -12,7 +12,7 @@ load_dotenv()
client = genai.Client(api_key=os.getenv("GEM_API_KEY"))
config = types.GenerateContentConfig(
tools=[searxng, open_url]
tools=[searxng, open_url, run_command]
)
intents = discord.Intents.default()
intents.message_content = True