Documentation

Use Pocket Tool without the guesswork.

Commands, practical examples and everything you need to run the open-source app yourself.

01 · GETTING STARTED

Useful in about thirty seconds.

Pocket Tool installs to your Discord account as a user app. Add it once, then use its commands anywhere Discord makes them available - servers, direct messages and private channels included.

1

Add the app

Use Discord’s authorization screen to install Pocket Tool to your account.

2

Type a command

Start with /help, or jump straight to something useful like /timestamp.

3

Try message tools

Open a message’s Apps menu to quote, translate, transcribe or turn content into a GIF.

Add Pocket Tool

02 · USER APP INSTALL

Install once. Use it across Discord.

Pocket Tool is installed to your Discord account as a user app. You can then use it in DMs, private channels and servers where user-installed apps are allowed. Commands that depend on server data - such as /role - only appear in compatible server contexts.

INSTALL

Add it to your account

Pocket Tool follows your Discord account instead of being installed to one server.

USE

Bring it into any conversation

Call its commands in DMs, private channels and servers that allow user-installed apps.

Good to know

Exact command availability still depends on the context, Discord permissions and whether the public app has a required third-party service configured.

04 · COMMAND REFERENCE

Find the right thing quickly.

Search the current public commands and context-menu actions. Syntax examples show the available inputs, not required values.

Create & Media

5 commands
/ttsSlash Command

Convert up to 500 characters into a native Discord voice message.

/tts text: … voice: Neutral language: English
Text to SpeechMessage Context Command

Convert text into a native Discord voice message.

Message menu -> Apps -> Text to Speech
Quote This MessageMessage Context Command

Create a custom quote card from a message, with type and visual controls.

Message menu -> Apps -> Quote This Message
/gifSlash Command

Turn an uploaded image into a GIF.

/gif image: attachment
Speech to TextMessage Context Command

Transcribe audio attached to a message.

Message menu -> Apps -> Speech to Text

Language & Time

5 commands
/timestampSlash Command

Generate a Discord timestamp from natural language, with timezone and style controls.

/timestamp time: in 10 minutes timezone: Europe/London style: Relative Time
/timezoneSlash Command

See the current time in any supported timezone.

/timezone zone: America/New_York
/translateSlash Command

Translate text between supported languages, with automatic source detection.

/translate text: … from: Auto Detect to: Use my locale
Translate This MessageMessage Context Command

Translate an existing message without copying it into a slash command.

Message menu -> Apps -> Translate This Message
/tweetSlash Command

Display a rich X post preview and optionally translate its text.

/tweet url: … language: Use my locale

Lookups

6 commands
/userSlash Command

View global or server-specific information about a user.

/user user: @member scope: Guild
View User ProfileUser Context Command

Open the same profile lookup from a user context menu.

User menu -> Apps -> View User Profile
/avatarSlash Command

View a user's global or server avatar with direct format links.

/avatar user: @member scope: Global
/bannerSlash Command

View and download a user's profile banner.

/banner user: @member
/roleSlash Command

Inspect a role's age, position, colours and key permissions.

/role role: @role
/inviteSlash Command

View information about a Discord invite link.

/invite link: discord.gg/…

Essentials

3 commands
/helpSlash Command

Browse the commands currently available to you.

/help
/pingSlash Command

Check that Pocket Tool is online and responding.

/ping
/debugSlash Command

View some information about Pocket Tool.

/debug

05 · SELF-HOSTING

Run your own Pocket Tool.

Self-hosting is intended for developers comfortable with Discord applications and public HTTP endpoints. You need Bun, a Discord app token and a publicly accessible URL for interactions.

01Bun02Discord app03Public URL
Terminalbash
# Clone and install
git clone https://github.com/mloetta/pocket-tool
cd pocket-tool
bun install

# Create and edit local configuration
cp .env.example .env

# Start the app
bun run start

Configure Discord interactions

  1. Open your application in the Discord Developer Portal.
  2. Go to General Information.
  3. Set Interactions Endpoint URL to your public /interactions route.
  4. Keep Pocket Tool running while Discord verifies the endpoint.

Environment variables

tokenDiscord app tokenRequired
discord_public_keyVerifies incoming interactionsRequired
portHTTP server portRequired
dev_idsDeveloper user IDsOptional
maintenanceMaintenance-mode flagOptional
register_commandsRegister commands on startupOptional
supabase_url / supabase_api_keySupabase connectionFeature dependent
redis_*Redis connectionFeature dependent
eleven_labs_api_keyEnables text-to-speechFeature dependent
tolgchu_twitter_api_keyEnables tweet previewsFeature dependent

06 · DATA & PRIVACY

Only what keeps the app working.

The project privacy policy states that Pocket Tool may store interaction trigger logs and command usage analytics. It does not sell, rent or trade user data. Third-party providers can process limited data when a command needs them.

Documentation reflects the public repository as of August 2026. The source code remains the authority for implementation details.