-
Notifications
You must be signed in to change notification settings - Fork 163
Command Reference
The /admin
Command allows a Master to add someone to the List of Staff
that is allowed to use the Bot. Being Admin allows someone to use Admin
commands and receive reports. If the Bot has permission to add Admins,
they will automatically get Telegram Admin Permission in Groups that the
Bot is in which allows them to Delete Messages or view Recent Actions.
Adding someone by Username will save them using their User ID since a
Username can be changed so if an Admin changes his Username you don’t
have to make them Admin again. Before being able to make someone Admin
using the Username the bot has to “know” the User so all Admins should
send the Bot a Private message or a message in a Group the bot manages.
The Staff is excluded from getting automatic warns.
In reply to a message: /admin
Using a Username: /admin @username
Using a User ID: /admin userid
The /unadmin
Command allows a Master to remove the User from the Staff
list which will revoke them access to Admin commands.
In reply to a message: /unadmin
Using a Username: /unadmin @username
Using a User ID: /unadmin userid
The /leave
Command allows a Master to make the bot leave a Group
Cleanly. This Command removes the Group from the list of Groups, so this
should always be used instead of Kicking the Bot.
In a Group: /leave
Using the Group Name: /leave name
Using the Group ID: /leave groupid
The /hidegroup
Command allows a Master to hide the Group the command
was executed from the Bots /groups
Command. The Command is useful if
you add the Bot to your Admin group but don’t want people to Join.
In a Group: /hidegroup
The /showgroup
Command allows a Master to show the Group the command
was executed from the Bots /groups
Command if it was hidden before.
In a Group: /showgroup
The /warn
Command allows an Admin or Master to warn a User. If used as
a reply, the Bot will delete the Message that was replied to.
In reply to a message: /warn reason
Using a Username: /warn @username reason
Using a User ID: /warn userid reason
The /unwarn
Command allows an Admin or Master to remove the last warn
of a User. If the User was banned for having too many warns this will
unban them.
In reply to a message: /unwarn
Using a Username: /unwarn @username
Using a User ID: /unwarn userid
The /nowarns
Command allows an Admin or Master to remove all warns a
User might have. If the User was banned for having too many warns this
will unban them.
In reply to a message: /nowarns
Using a Username: /nowarns @username
Using a User ID: /nowarns userid
The /ban
Command allows an Admin or Master to ban a User. If used as a
reply, the Message that was replied to will be Deleted. Banning a User
will remove him from all groups the Bot is administrating. If they
aren’t in a Group but try to join after being banned, the bot will ban
them after entering.
In reply to a message: /ban reason
Using a Username: /ban @username reason
Using a User ID: /ban userid reason
The /unban
Command allows an Admin or Master to remove a User from the
Banlist. The Command will unban the User in all Groups and will enable
them to join again. This will remove all of the warns a User has.
In reply to a message: /unban
Using a Username: /unban @username
Using a User ID: /unban userid
The /user
Command allows an Admin or Master to view the Info of any
User. This includes their Name, Status(member or Admin), User ID,
Username and any warns they might have.
If the User is not an Admin, they can only view their info. If they use
the command with a Username or User ID that is not theirs, the Bot will
ignore the Command.
If a Username is used that is unknown to the bot, it will Display the
Info for the Admin or Master that issued the Command instead.
In reply to a message: /user
Using a Username: /user @username
Using a User ID: /user userid
The /addcommand
Command allows an Admin or Master to add a Custom
Command that will be available in All Groups the Bot is managing.
Custom Commands are prefixed with an exclamation mark (!
).
They can be limited to be either only used by Masters, Admins and
Masters or Everyone. The restriction can be set in the First Part of the
Custom Command Creation. They use the HTML Syntax for Markdown. If the
Command already exists the Bot will ask if you want to replace it.
Commands can be used in Groups or Private.
A Command created with /addcommand test
can be used by sending !test
in a Group or Directly to the Bot.
Direct Message to the Bot: /addcommand name
\
The /removecommand
Command allows a Master to remove any Custom
Command. Admins can only remove Commands for Admins or Everyone.
Direct Message to the Bot: /removecommand name
\
The /staff
Command allows a User to Check the current List of Admins.
In a Group or in Private: /staff
\
The /link
Command allows a User to get the Link for the Group the
Command in which the command was issued.
In a Group: /link
\
The /groups
Command allows a User to get a list of groups the Bot
manages. Groups hidden with /hidegroup
will not show up.
In a Group or in Private: /groups
\
The /report
Command allows a User to report a Message. The bot will
send a Message that mentions all Admins in a Message.
In reply to a message: /report
\
The /user
Command allows a User to get a List of their Current warns.
In a Group or in Private: /user
\
This has been converted from LaTeX to Markdown using pandoc. Original LaTeX File.
Need help with The Guard? Join our Support Chat.