SkillAgentSearch skills...

TelegramPM

A PocketMine-MP Plugin that connect PM server <-> Telegram

Install / Use

/learn @Plugins-PocketMineMP/TelegramPM
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TelegramPM

A PocketMine-MP Plugin that connect PM Server <-> Telegram

Setting

See Step by setup

API

send message

\alvin0319\TelegramBot\TelegramBot::getInstance()->sendMessage("your message", "chat id")

Event

\alvin0319\TelegramBot\event\MessageReceiveEvent

\alvin0319\TelegramBot\event\MessageSendEvent

Note on use

After restarting the server and before running commands on the bot, you must log in with /login <password>.

Welcome, username

If you see this, you are successfully logged in.

Command can be used as /execute <command>.

Warning

YOU SHOULD NOT LEAK YOUR BOT'S TOKEN OR NAME. PASSWORD ENTRY IS REQUIRED, BUT THIS IS NOT SAFE.

Test

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated3y ago
Forks2

Languages

PHP

Security Score

75/100

Audited on Sep 10, 2022

No findings