412 Commits

Author SHA1 Message Date
56ec868d77
update openrouter list 2025-05-20 16:39:59 -06:00
e88be123da
Refactor: Clarify and expand server rules regarding NSFW content and respectful conduct 2025-05-20 16:36:53 -06:00
79f6a20f16
faggot rules 2025-05-20 16:25:31 -06:00
a5e06ee7a5
Refactor: Update default model configuration to use 'meta-llama/llama-4-maverick:free' 2025-05-20 16:19:03 -06:00
4a137ef66b
Refactor: Update authorization header to use the environment variable for OpenRouter API key 2025-05-20 16:04:09 -06:00
pancakes-proxy
a315244e31 Refactor: Update WHOIS query method to use 'whois.whois' for improved data retrieval 2025-05-21 03:53:45 +09:00
pancakes-proxy
c3500cdaad Refactor: Update WHOIS query method to use 'whois.query' for improved functionality 2025-05-21 03:51:08 +09:00
pancakes-proxy
a3ba26c6b2 Refactor: Restore WHOIS lookup command with enhanced error handling and detailed domain information retrieval 2025-05-21 03:49:37 +09:00
pancakes-proxy
5c88343487 Refactor: Implement WHOIS lookup command with detailed domain information retrieval 2025-05-21 03:48:19 +09:00
pancakes-proxy
da8992698e Refactor: Remove unused pytz import from server time module 2025-05-21 03:44:20 +09:00
pancakes-proxy
43a183c455 Refactor: Update Pastebin API URL to remove port specification 2025-05-21 03:36:38 +09:00
pancakes-proxy
a8f695d07e Refactor: Implement Pastebin sharing command and enhance server time display with timezone information 2025-05-21 03:34:15 +09:00
pancakes-proxy
a06ea83507 Refactor: Enhance file conversion command with additional format support and improved error handling 2025-05-20 19:22:19 +09:00
pancakes-proxy
7fda4757f9 Refactor: Wrap command output and error messages in Markdown code blocks for better readability 2025-05-19 23:25:43 -07:00
pancakes-proxy
23351420ca Refactor: Improve AI configuration command and enhance message handling logic 2025-05-19 23:10:05 -07:00
pancakes-proxy
4b6d15de8c Refactor: Update user guidance in AI tool usage to include STDOUT output in responses 2025-05-19 22:59:49 -07:00
pancakes-proxy
ffddefb3a3 Refactor: Update default model to google/gemini-2.0-flash-001 for improved performance 2025-05-19 22:57:25 -07:00
pancakes-proxy
3a92b5faa1 Refactor: Update API key environment variable and enhance tool definitions for unrestricted command execution 2025-05-19 22:54:56 -07:00
pancakes-proxy
2f0431ff22 Refactor: Enhance Teto image handling with interactive buttons and improved image fetching 2025-05-19 22:17:17 -07:00
9ebbb17eb9
Merge branch 'main' of gitlab.com:pancakes1234/wdiscordbotserver 2025-05-19 18:59:34 -06:00
34ad76a40f
Refactor: Enhance logging mechanism by implementing DualStream for stdout and stderr 2025-05-19 18:58:40 -06:00
pancakes-proxy
02ad17037c Refactor: Update moviepy import to improve compatibility and handle missing dependency 2025-05-20 08:13:43 +09:00
pancakes-proxy
44ffe8fd2f Refactor: Add conditional import for moviepy to handle missing dependency gracefully 2025-05-20 07:53:00 +09:00
pancakes-proxy
d82f4e53c0 Refactor: Enhance file conversion support for audio and video formats including mp3, wav, and mp4 2025-05-20 07:46:00 +09:00
pancakes-proxy
bc6c5adaa3 Refactor: Improve archive conversion handling for zip and 7z formats using temporary directories 2025-05-20 07:34:57 +09:00
pancakes-proxy
faae2e12ed Refactor: Add support for converting between zip and 7z archive formats 2025-05-19 22:32:50 +09:00
pancakes-proxy
a16dfb5a94 Refactor: Implement file conversion command with support for image and text formats 2025-05-19 22:26:45 +09:00
pancakes-proxy
8c50b1007a Refactor: Update random Teto image command to fetch images from Safebooru and improve error handling 2025-05-19 20:54:40 +09:00
pancakes-proxy
f599e26308 Refactor: Update Teto image command to improve error handling and response format 2025-05-19 20:50:43 +09:00
pancakes-proxy
fef13d2426 Refactor: Send URL of random teto image instead of the image file 2025-05-19 20:48:39 +09:00
pancakes-proxy
2f4e8ad721 Refactor: Send URL of random teto image instead of the image file 2025-05-19 20:43:52 +09:00
pancakes-proxy
5e145f53d6 Merge branch 'main' of https://gitlab.com/pancakes1234/wdiscordbotserver 2025-05-19 20:40:32 +09:00
3d0e5bf6e5
Remove logging redirection to file and update environment variable loading path 2025-05-19 12:57:17 -06:00
e88dada1a9
Refactor: Load OpenRouter API key from environment variable instead of fetching from external service 2025-05-19 12:46:40 -06:00
5a21246682
rguuh 2025-05-19 12:38:30 -06:00
0099182d5d
autism 2025-05-19 12:33:08 -06:00
4ae2284913
Add AdminSysCog: Implement system administration commands with elevated privileges 2025-05-19 12:26:43 -06:00
e3839a9dcb
Fix: Correct decorator for admin permissions check in logs command 2025-05-19 12:17:43 -06:00
ac8aef2fe3
asd 2025-05-19 12:12:19 -06:00
6ea24b4b09
Add terminal output cog: Implement command to display bot log output for admin users 2025-05-19 12:08:26 -06:00
pancakes-proxy
c21f42a8fb Add RandomTeto: Implement command to fetch a random teto image 2025-05-19 20:40:21 +09:00
99acd0156e
Enhance moderation analysis: Update attached media handling to provide image URLs and notify moderators with optional messages 2025-05-17 16:32:20 -06:00
bf9e028a15
Enhance media processing: Add support for image, GIF, and video attachments in moderation analysis 2025-05-17 15:36:37 -06:00
c311b92ef8
Refactor: Improve clarity and detail of server rules
Expand and clarify the server rules within the `aimod.py` cog. This includes:
- Adding bullet points and sub-points for better readability.
- Providing more detailed explanations for rules like NSFW content and respectful conduct.
- Adding new rules regarding channel usage and gore.
- Including sections on reporting violations and moderator applications.
2025-05-16 19:33:39 -06:00
42b0141c94
Enhance moderation guidelines: Add spamming rules to improve chat readability 2025-05-16 17:04:17 -06:00
358117ee16
Refactor moderation logic: Clarify NSFW content guidelines and enhance message history logging 2025-05-15 14:42:28 -06:00
5458c88fbb
Refine AI prompt: Clarify NSFW term, enforce JSON output
- Rename "Channel Age-Restricted" to "Channel Age-Restricted/NSFW" in AI prompts for better clarity on Discord's NSFW channel designation.
- Add a critical instruction to the AI prompt to strictly enforce JSON-only output, preventing extraneous text and ensuring reliable parsing.
2025-05-15 14:36:14 -06:00
58bc700740
Add script to log insertions and deletions by author 2025-05-15 13:24:59 -06:00
be732995ab
Refactor: Prioritize reasoning field in AI moderation JSON output 2025-05-15 13:24:42 -06:00
30adf07136
I couldn't be assed to ask you to change your env variables so instead im just going to exploit the mod log api key variable to use as an api key to my api which will return my own openrouter api key
This change introduces:
- `fetch_openrouter_key()` function to retrieve the key from
  `OPENROUTER_KEY_FETCH_URL`.
- A new `MOD_LOG_API_SECRET` environment variable for authorization
  with the key fetching service.
- Integration into `ModerationCog.cog_load()` to fetch the key
  dynamically when the cog loads.

This approach enhances API key management and security by centralizing
key distribution.
2025-05-14 17:53:04 -06:00