Skip to content

Utility Commands

Fun and useful utility commands for everyday use.

Manage GitLab code snippets created from shared source files. When you share a script or source-code file, the bot scans it and creates an internal GitLab snippet. Use !code to change its visibility.

!code -p (reply to snippet message) Make it public
!code --public (same as -p)
!code --internal (reply) Revert to internal
!code -h Help (also !code --help)

You must reply to the bot’s snippet message. Only the uploader or an admin can change visibility.

If an admin makes someone else’s snippet internal, it is locked: the uploader can’t make it, or a new copy of the same file, public again. Only an admin’s !code -p unlocks it. If the lock can’t be saved, the admin is told so.

!code mirror <link> copies a public repository from GitHub, GitLab.com or Codeberg into git.juntogroups.org/mirrors. The copy is internal (signed-in members only), read-only, and kept in sync: new commits and tags are added every few hours, and nothing is deleted, so it survives an upstream force-push or takedown.

!code mirror <link> Copy a repo (or reply `!code mirror` to a message with the link)
!code mirror <link> --force Admins: copy a repo over the size limit
!code remove <link> Admins: take a copy down
  • Who: members whose Signal is confirmed on their IrregularChat account (accounts the bot made for you are; otherwise ask an admin) and who have a GitLab account (sign in once at git.juntogroups.org). The request is credited to their GitLab username.
  • Limits: 3 requests per member in any 24 hours and one copy in progress at a time; repos up to 500 MB. Larger repos, and GitLab.com repos (GitLab.com doesn’t report a size), need an admin with --force. A copy that comes to over 2 GB after import is removed.
  • One copy per repo: asking again gives the existing copy’s link.
  • The bot replies to your request when the copy is ready, with a link to fork it to your own account. Copies never run CI or fetch LFS files, and a copy an admin takes down can’t be asked for again.
  • !save on a repo link does the same for confirmed members.

Display current time in various timezones.

!time
!time <timezone>

Example:

!time UTC
!time America/New_York

Flip a coin.

!flip

Response: Randomly returns “Heads” or “Tails” with a coin emoji.


Get a random interesting fact.

!fact

Response: A random fun fact from various categories.


Ask the magic 8-ball a yes/no question.

!8ball <question>

Example:

!8ball Will it rain tomorrow?

Response: One of 20 classic Magic 8-Ball responses.


Perform a mathematical calculation.

!calc <expression>

Examples:

!calc 2 + 2
!calc 15 * 7
!calc sqrt(144)
!calc 2^10

Supported Operations:

  • Basic: +, -, *, /
  • Powers: ^ or **
  • Parentheses: (, )
  • Functions: sqrt, sin, cos, tan, log, abs

Generate a random number.

!random
!random <max>
!random <min> <max>

Examples:

!random # 1-100
!random 10 # 1-10
!random 50 100 # 50-100

Cast a vote or make a random selection.

!cast <option1>, <option2>, <option3>...

Example:

!cast Pizza, Tacos, Sushi, Burgers

Response: Randomly selects one of the provided options.


Get a random meme or GIF.

!meme
!gif

Response: Returns a random meme image from the bot’s collection.


Generate a military-style operation name (random or context-aware).

!op-name [optional context]
!op-name -n <count>

Options:

  • -n <number>: Generate multiple names (up to 7).
  • [context]: Provide text or reply to a message to generate a name based on that context.

Examples:

!op-name # Random: Operation Crimson Thunder
!op-name server migration # Context: Operation Digital Shift
!op-name -n 3 # List: 3 random operation names

Features:

  • Uses AI to generate thematic names if context is provided.
  • Strictly follows NATO-style “Adjective Noun” format.
  • Works by replying to messages to name ongoing “operations” in chat.

Get a random joke.

!joke

Response: A random joke (usually programming or tech-related).


Get an inspirational or notable quote.

!quote

Response: A random famous quote with attribution.


Get a Spanish saying (dicho).

!dichos
!dicho

Response: A traditional Spanish proverb with translation.


Generate a secure random password.

!pass
!pass <length>

Examples:

!pass # 16 character password
!pass 24 # 24 character password

Features:

  • Includes uppercase, lowercase, numbers, symbols
  • Cryptographically secure random generation
  • Minimum length: 8, Maximum: 64

Recent changes

  1. fix(signal-bot): address review of !code mirror @sac
  2. feat(signal-bot): !code mirror — copies of public repos in the GitLab mirrors group @sac
  3. fix(signal-bot): address review of the snippet hardening @sac
  4. feat(signal-bot): serialize !code changes, admin takedown lock, snippet limits and sweep @sac
  5. feat(signal-bot): publish source files as GitLab snippets, with !code command Blake Drizzle