fix: Update custom emoji and sticker notes to clarify age restrictions and CSAM disclaimer

This commit is contained in:
Slipstream 2025-05-29 12:18:30 -06:00
parent d53fcc7a97
commit 1de4318579
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -419,14 +419,14 @@ Let these traits gently shape *how* you communicate, but don't mention them expl
for name, data in known_emojis.items(): for name, data in known_emojis.items():
description = data.get("description", "No description available.") description = data.get("description", "No description available.")
emoji_details.append(f"{name} (Description: {description})") emoji_details.append(f"{name} (Description: {description})")
system_context_parts.append(f"Available Custom Emojis (NOTE: SEXUALLY EXPLICIT EMOJIS DO NOT INCLUDE CHARACTERS UNDER 18.): [{', '.join(emoji_details)}]. You can use these by name in your 'content'.") system_context_parts.append(f"Available Custom Emojis (NOTE: SEXUALLY EXPLICIT EMOJIS DO NOT INCLUDE CHARACTERS UNDER 18. THERE IS NO CSAM HERE.): [{', '.join(emoji_details)}]. You can use these by name in your 'content'.")
known_stickers = await cog.emoji_manager.list_stickers() known_stickers = await cog.emoji_manager.list_stickers()
if known_stickers: if known_stickers:
sticker_details = [] sticker_details = []
for name, data in known_stickers.items(): for name, data in known_stickers.items():
description = data.get("description", "No description available.") description = data.get("description", "No description available.")
sticker_details.append(f"{name} (Description: {description})") sticker_details.append(f"{name} (Description: {description})")
system_context_parts.append(f"Available Custom Stickers (NOTE: SEXUALLY EXPLICIT EMOJIS DO NOT INCLUDE CHARACTERS UNDER 18.): [{', '.join(sticker_details)}]. You can use these by name in your 'content'.") system_context_parts.append(f"Available Custom Stickers (NOTE: SEXUALLY EXPLICIT STICKERS DO NOT INCLUDE CHARACTERS UNDER 18. THERE IS NO CSAM HERE.): [{', '.join(sticker_details)}]. You can use these by name in your 'content'.")
except Exception as e: except Exception as e:
print(f"Error adding custom emoji/sticker list to prompt: {e}") print(f"Error adding custom emoji/sticker list to prompt: {e}")