-
Notifications
You must be signed in to change notification settings - Fork 55
Sudo
Various uncategorized functions.
Run bots host shell system command. The command is executed by the same user who is running the bot.
WARNING: This plugin interfaces with your operating system. Even without root privileges, a bad command can be harmful.
Command | Description |
---|---|
!bin <command> |
Run a system command . |
Example:
!bin git pull
!bin sudo restart merbot
Block and or unblock user.
Command | Description |
---|---|
!block <user_id> |
Block user_id . |
!unblock <user_id> |
Unblock user_id . |
Example:
!block 123456789
!unblock 987654321
Message formatting only enabled for bot API. Merbot uses bot API to send pretty message.
When first deploying merbot
, the installation wizard will asking for bot API token.
If need to change the token, use following command:
Command | Description |
---|---|
!bot token <bot_api_key> |
Input bot API key. |
Example:
!bot token 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
Bot can join/invited into a group by replying a message contain an invite link or by
typing !join [invite link]
.
If there is more than one invite link
in the replied message, first invite link
is taken.
Command | Description |
---|---|
!join |
When type by replying to a message contain invite link of a group, will invite the bot into that group. |
!Join [invite link] |
Invite the bot into a group chat via its invite link . |
Example:
!join https://telegram.me/joinchat/AfB26wGZCneNyiS2qrYBxQ
Shows bot version.
Command | Description |
---|---|
!version |
Shows bot version. |
Home
Installation:
Rank system
Frequently Asked Questions
Bugs
Plugins:
- 9gag.lua
- administration.lua
- apod.lua
- bing.lua
- calculator.lua
- cats.lua
- currency.lua
- dilbert.lua
- dogify.lua
- forecast.lua
- gmaps.lua
- gsmarena.lua
- hackernews.lua
- help.lua
- id.lua
- imdb.lua
- isup.lua
- kaskus.lua
- logger.lua
- pattern.lua
- plugins.lua
- quran.lua
- reddit.lua
- rss.lua
- salat.lua
- stats.lua
- sudo.lua
- time.lua
- translate.lua
- urbandictionary.lua
- webshot.lua
- whois.lua
- xkcd.lua
- yify.lua