update_ai_tone()¶
- async Client.update_ai_tone()¶
Update an existing custom AI writing tone.
Usable by Users Bots- Parameters:
tone (
InputAiComposeTone) – Input AI tone identifier.title (
str, optional) – Updated title/name of the tone.prompt (
str, optional) – Updated prompt instructions.emoji_id (
int, optional) – Updated custom emoji document ID.display_author (
bool, optional) – Whether to display the creator’s username.
- Returns:
AiComposeTone– On success, updated tone is returned.
Example
updated = await app.update_ai_tone(tone, title="New Pirate")