mirror of
https://github.com/arthur-pbty/flint.git
synced 2026-08-01 20:29:03 +02:00
198 lines
6.6 KiB
JSON
198 lines
6.6 KiB
JSON
{
|
|
"errors": {
|
|
"args": {
|
|
"missing": "Missing argument {{arg}}. Usage: {{usage}}",
|
|
"invalidInt": "Argument must be an integer. Received: {{value}}",
|
|
"invalidNumber": "Argument must be a number. Received: {{value}}",
|
|
"invalidBoolean": "Argument must be a boolean value. Received: {{value}}",
|
|
"invalidUser": "Could not resolve a user from {{value}}",
|
|
"tooMany": "Too many arguments detected ({{count}}): {{extras}}. Usage: {{usage}}"
|
|
},
|
|
"permissions": {
|
|
"user": "You are missing permissions: {{permissions}}"
|
|
},
|
|
"execution": "An unexpected error happened while running this command."
|
|
},
|
|
"categories": {
|
|
"fun": "Fun",
|
|
"utility": "Utility",
|
|
"core": "Core"
|
|
},
|
|
"commands": {
|
|
"kiss": {
|
|
"name": "kiss",
|
|
"description": "Send a kiss to another user.",
|
|
"args": {
|
|
"user": "Target user"
|
|
},
|
|
"examples": {
|
|
"basic": "Send a kiss to a member"
|
|
},
|
|
"responses": {
|
|
"success": "{{from}} sends a kiss to {{to}}."
|
|
}
|
|
},
|
|
"ping": {
|
|
"name": "ping",
|
|
"description": "Check bot websocket latency.",
|
|
"examples": {
|
|
"basic": "Basic health check"
|
|
},
|
|
"responses": {
|
|
"pong": "Pong. Websocket latency: {{latency}}ms."
|
|
}
|
|
},
|
|
"advanced": {
|
|
"name": "advanced",
|
|
"description": "Showcase command using every available command parameter.",
|
|
"args": {
|
|
"text": "Required text value",
|
|
"count": "Required integer value",
|
|
"ratio": "Optional decimal number",
|
|
"enabled": "Optional boolean flag",
|
|
"user": "Required target user",
|
|
"channel": "Optional channel",
|
|
"role": "Optional role"
|
|
},
|
|
"examples": {
|
|
"full": "Complete prefix example with all argument types",
|
|
"slash": "Equivalent slash usage"
|
|
},
|
|
"responses": {
|
|
"summary": "Advanced command summary\ntext={{text}}\ncount={{count}}\nratio={{ratio}}\nenabled={{enabled}}\nuser={{user}}\nchannel={{channel}}\nrole={{role}}\nsource={{source}}"
|
|
}
|
|
},
|
|
"presence": {
|
|
"name": "presence",
|
|
"description": "Configure bot presence with an interactive panel.",
|
|
"examples": {
|
|
"slash": "Open the interactive presence panel"
|
|
},
|
|
"responses": {
|
|
"slashOnly": "This command is only available as a slash command.",
|
|
"panel": "Presence panel\nStatus: {{status}}\nActivity: {{activityType}}\nRotation: every {{rotationIntervalSeconds}}s\nActive text ({{currentTextIndex}}/{{textCount}}): {{activityText}}\nRendered preview: {{activityPreview}}\nTexts: {{activityTexts}}\nVariables ({{doubleBracesHint}}): {{variables}}",
|
|
"statusUpdated": "Status updated to {{status}}.",
|
|
"activityUpdated": "Activity type updated to {{activityType}}.",
|
|
"textUpdated": "Presence text updated to: {{activityText}}",
|
|
"notOwner": "Only the command author can use this panel.",
|
|
"invalidSelection": "Invalid selection received.",
|
|
"invalidInterval": "Invalid interval. Use an integer between {{minSeconds}} and {{maxSeconds}} seconds.",
|
|
"modalTimeout": "Text update timed out. Click the button again."
|
|
},
|
|
"ui": {
|
|
"status": {
|
|
"placeholder": "Choose a status",
|
|
"options": {
|
|
"online": {
|
|
"label": "Online",
|
|
"description": "Displayed as online"
|
|
},
|
|
"idle": {
|
|
"label": "Idle",
|
|
"description": "Displayed as idle"
|
|
},
|
|
"dnd": {
|
|
"label": "Do Not Disturb",
|
|
"description": "Displayed as do not disturb"
|
|
},
|
|
"invisible": {
|
|
"label": "Invisible",
|
|
"description": "Displayed as offline"
|
|
},
|
|
"streaming": {
|
|
"label": "Streaming",
|
|
"description": "Displayed in streaming mode"
|
|
}
|
|
}
|
|
},
|
|
"activity": {
|
|
"placeholder": "Choose an activity type",
|
|
"options": {
|
|
"PLAYING": {
|
|
"label": "Playing",
|
|
"description": "Shows as Playing ..."
|
|
},
|
|
"STREAMING": {
|
|
"label": "Streaming",
|
|
"description": "Shows as Streaming ..."
|
|
},
|
|
"WATCHING": {
|
|
"label": "Watching",
|
|
"description": "Shows as Watching ..."
|
|
},
|
|
"LISTENING": {
|
|
"label": "Listening",
|
|
"description": "Shows as Listening to ..."
|
|
},
|
|
"COMPETING": {
|
|
"label": "Competing",
|
|
"description": "Shows as Competing in ..."
|
|
},
|
|
"CUSTOM": {
|
|
"label": "CustomStatus",
|
|
"description": "Shows a custom status"
|
|
}
|
|
}
|
|
},
|
|
"embed": {
|
|
"title": "Presence Configuration",
|
|
"description": "Change status, activity type, multiple texts, and rotation interval in real time.",
|
|
"footer": "Interactive /presence panel",
|
|
"fields": {
|
|
"status": "Status",
|
|
"activity": "Activity type",
|
|
"text": "Text"
|
|
}
|
|
},
|
|
"textButton": "📝 Edit texts",
|
|
"intervalButton": "⏱️ Interval",
|
|
"modal": {
|
|
"title": "Presence texts",
|
|
"label": "One text per line (use {{var}})",
|
|
"placeholder": "Maintenance\n{{guild_count}} servers | {{prefix}}help"
|
|
},
|
|
"intervalModal": {
|
|
"title": "Rotation interval",
|
|
"label": "Seconds between each text",
|
|
"placeholder": "Example: 30"
|
|
}
|
|
}
|
|
},
|
|
"help": {
|
|
"name": "help",
|
|
"description": "Display command list or details for one command.",
|
|
"args": {
|
|
"command": "Optional command name or trigger"
|
|
},
|
|
"examples": {
|
|
"basic": "List all commands",
|
|
"single": "Show details for one command"
|
|
},
|
|
"errors": {
|
|
"notFound": "No command matches {{query}}."
|
|
},
|
|
"embed": {
|
|
"title": "Command Help",
|
|
"description": "Use {{usage}} to inspect one command.",
|
|
"categoryEmpty": "No commands in this category.",
|
|
"detailsTitle": "Command: {{name}}",
|
|
"detailsDescription": "{{description}}",
|
|
"footer": "Category: {{source}}",
|
|
"fields": {
|
|
"usage": "Usage",
|
|
"arguments": "Arguments",
|
|
"examples": "Examples"
|
|
}
|
|
},
|
|
"labels": {
|
|
"prefix": "Prefix",
|
|
"slash": "Slash",
|
|
"required": "required",
|
|
"optional": "optional",
|
|
"noArgs": "No arguments.",
|
|
"noExamples": "No examples."
|
|
}
|
|
}
|
|
}
|
|
}
|