23 Commits

Author SHA1 Message Date
77bdac8827
Add gurtleaveothers command 2025-06-09 16:57:29 +00:00
0ef8ee8cc0
Updates Gemini Pro model version
Updates the Gemini 2.5 Pro model from `gemini-2.5-pro-preview-05-06` to `gemini-2.5-pro-preview-06-05` across configurations.
This ensures the use of the more recent preview version of the model.
2025-06-06 21:13:57 -06:00
d1ec42fa51
big ass formatting 2025-06-05 21:31:06 -06:00
c8870c6b7f
fix: Update ephemeral response deferral in setup_commands to improve visibility 2025-05-30 13:23:05 -06:00
8a67e3b48b
fix: Remove unnecessary ephemeral response deferral in model change commands 2025-05-30 13:21:26 -06:00
19f7d658fc
fix: Update ephemeral flag in AI model change responses to improve visibility 2025-05-30 13:20:06 -06:00
c374a1a835
fix: Handle missing AVAILABLE_AI_MODELS import and provide fallback options 2025-05-30 13:18:57 -06:00
583a19ed6e
fix: Refactor imports in commands.py for clarity and organization 2025-05-30 13:12:02 -06:00
e6f03abf6d
feat: Add dynamic AI model switching commands and update model configuration 2025-05-30 13:08:23 -06:00
f7a1a2134e
feat: Add command to reset Gurt's personality and interests to baseline for owner 2025-05-29 10:40:32 -06:00
6868b2e95e
Feat: Integrate Tenor GIF search and custom emoji/sticker support
This commit introduces two main enhancements to Gurt's capabilities:

1.  **Tenor GIF Integration:**
    *   The AI can now request Tenor GIFs via a `request_tenor_gif_query` field in its response schema.
    *   `api.py` handles these requests by searching Tenor (using the new `TENOR_API_KEY` from config) and appending the GIF URL to the AI's message content.
    *   System prompts have been updated to instruct the AI on how to request GIFs.

2.  **Custom Emoji & Sticker Learning and Usage:**
    *   Introduces an `EmojiManager` (in the new `gurt/emojis.py`) to store and manage mappings of custom emoji/sticker names to their URLs. This data is persisted to `EMOJI_STORAGE_FILE`.
    *   Gurt now automatically learns custom emojis and stickers (and their URLs) from user messages via the `on_message` listener in `listeners.py`.
    *   The AI can be prompted to use these learned emojis/stickers by referencing their `:name:`.
    *   `api.py` processes AI responses to identify known custom emojis/stickers. For stickers, their URL is appended to the content if mentioned.
    *   A `learnemoji` command has been added for manually teaching Gurt emojis/stickers, although automatic learning is the primary mechanism.
    *   System prompts are updated to guide the AI on using custom emojis/stickers.
2025-05-28 14:30:26 -06:00
3ff850a9b3
feat: Add channel ignore functionality
Implement `/gurtignore` commands to manage channels Gurt should ignore.
- Add `gurtignore add` to add a channel to the ignore list.
- Add `gurtignore remove` to remove a channel from the ignore list.
- Add `gurtignore list` to display currently ignored channels.
- Update `GurtCog` and `config.py` to support ignored channel IDs and file management.
- Ensure ignore commands are owner-only.
- Modify `listeners.py` to prevent Gurt from processing messages in ignored channels.
2025-05-27 22:19:36 -06:00
2673729888
aa 2025-04-30 12:37:05 -06:00
dfe0d9d221
aaa 2025-04-30 11:45:18 -06:00
c5d10992b8
aa 2025-04-30 11:21:14 -06:00
7a6c3fd127
aasda 2025-04-30 11:17:02 -06:00
918f3c39b7
aa 2025-04-28 00:31:44 -06:00
3acafb0132
aa 2025-04-27 01:06:16 -06:00
d856e4ccef
aa 2025-04-27 01:01:35 -06:00
33e15df5be
aaa 2025-04-27 00:58:21 -06:00
8da5055657
k 2025-04-27 00:05:19 -06:00
b7d4b6bfbb
aaf
f
2025-04-27 00:03:14 -06:00
82f21f71ac
REFACTORRR!!! 2025-04-26 22:34:28 -06:00