Skip to Content
Lisa Guide
Getting started

How commands work

Learn how to type commands, reply to people, use usernames and IDs, and write times like 30m or 2h.

A command is a short message that tells the bot what to do. This page explains the few simple rules you need.

Commands start with / or !

Both of these do the same thing:

  • /help
  • !help

Commands are not case sensitive, but small letters are the easiest.

How to read the usage lines

In this guide you will see lines like /ban <reply | id | @username> [reason]. Here is how to read them:

What you seeWhat it means
Words in angle brackets, like <type>You must fill this in. Do not type the brackets.
Words in square brackets, like [reason]Optional. You can skip it. Do not type the brackets.
The word replyReply to a person's message with the command.
idThe number that identifies a user or chat.
@usernameThe person's Telegram username.

Choosing who a command is about

Many commands act on a person, such as /warn or /mute. There are three ways to say who:

1. Reply to their message (easiest)

Long-press (or right-click) the person's message, choose Reply, and type the command.

Warning someone by replying
Admin
/warn Please do not post links
Lisa

User Rahul has 1/3 warnings; be careful!

Reason: Please do not post links

Everything you type after the command is the reason.

2. Use their @username

Using a username
Admin
/mute @rahul spamming

3. Use their numeric ID

Every Telegram user has an ID number. Example: /ban 123456789 spam. To find an ID, see Everyday commands (/id).

Writing time: 30m, 2h, 1d

Some commands need a duration, such as /tmute or /setwarntime. Write a number followed by one letter:

LetterMeaningExample
sseconds45s
mminutes30m
hhours2h
ddays7d
wweeks2w

You can combine them, like 1h30m. The shortest time is 30 seconds and the longest is 366 days.

Slow down

To prevent spam, many commands have a short cooldown. If you use a command again too quickly, the bot says "Slow down, try again in a few seconds". Just wait and try again.

Commands that only work in groups or in private

  • Most moderation commands work only in groups. If you use them in a private chat, the bot tells you.
  • Some commands, like /newfed and /myfeds, work only in a private chat with the bot.
  • Some settings commands can be used from a private chat after you connect your group. See Manage from private chat.

On this page