Setup

Chopsticks

The official WokGen Discord bot. Generate assets, chat with Eral, browse the gallery, and automate your creative workflow — all without leaving Discord.

Setup

Chopsticks uses Discord's Interactions Endpoint (webhook-based, no persistent bot connection required).

  1. Go to the Discord Developer Portal and create an Application.
  2. Under Bot, copy the Bot Token → set DISCORD_BOT_TOKEN.
  3. Under General Information, copy the Public Key → set DISCORD_PUBLIC_KEY.
  4. Set Interactions Endpoint URL to https://your-domain/api/discord/interactions.
  5. Register slash commands via the Discord API using the commands listed below.

Commands

/generate [mode] [prompt]everyone

Generate an AI asset from a prompt. Supports all 4 WokGen modes.

ArgumentTypeRequiredDescription
modestringrequiredpixel | business | vector | uiux
promptstringrequiredYour generation prompt
Example:/generate pixel cute dragon warrior sprite
/pixel [prompt]everyone

Shorthand for /generate pixel — quickly generate a pixel art asset.

ArgumentTypeRequiredDescription
promptstringrequiredPixel art generation prompt
Example:/pixel neon cyberpunk city tileset
/toolseveryone

List all 8 WokGen tool categories with links to the relevant studios.

Example:/tools
/eral [message]everyone

Chat with Eral 7c, the WokGen AI companion. Ask anything — prompts, code, creative direction.

ArgumentTypeRequiredDescription
messagestringrequiredYour message to Eral
Example:/eral What's the best prompt style for dark fantasy sprites?
/galleryeveryone

Preview the 3 most recent public gallery assets with image thumbnails.

Example:/gallery
/roast @user [intensity]everyone

Generate a fun, LLM-powered roast of a Discord user. Keep it light!

ArgumentTypeRequiredDescription
userstringrequiredUsername to roast
intensitystringoptionalmild | medium | savage (default: medium)
Example:/roast @Wokspec intensity:savage
/simulate [topic]everyone

Start a simulated creative conversation between 3 AI agents: Creative Director, Art Director, and Game Designer.

ArgumentTypeRequiredDescription
topicstringrequiredTopic for the agents to discuss
Example:/simulate pixel art style guide for a horror RPG
/automate [schedule] [prompt]everyone

Create a recurring asset generation automation. Results delivered on a schedule.

ArgumentTypeRequiredDescription
schedulestringrequiredhourly | daily | weekly
promptstringrequiredGeneration prompt to run on schedule
Example:/automate schedule:daily prompt:random fantasy character portrait
/battle [prompt1] [prompt2]everyone

Pit two concept prompts against each other. Community votes with reactions.

ArgumentTypeRequiredDescription
prompt1stringrequiredFirst concept prompt
prompt2stringrequiredSecond concept prompt
Example:/battle prompt1:"fire dragon" prompt2:"ice phoenix"

Architecture

Chopsticks uses Discord's Interactions Endpoint pattern — a pure HTTP webhook with no persistent WebSocket connection. Discord POSTs to/api/discord/interactionswhen a slash command is used. Signatures are verified using Ed25519 before any command is processed. Long-running commands (like /generate) use deferred responses (type 5) with follow-up webhooks.