mirror of
https://github.com/danog/magnaluna.git
synced 2024-11-26 19:44:46 +01:00
Improve docs
This commit is contained in:
parent
7e4ffccf36
commit
fe01cde9b4
@ -167,7 +167,7 @@ class MyEventHandler extends SimpleEventHandler
|
||||
}
|
||||
try {
|
||||
$message = 'Total running calls: '.count($this->calls).PHP_EOL.PHP_EOL;
|
||||
$message .= PHP_EOL.PHP_EOL.PHP_EOL;
|
||||
$message .= "Send /skip to skip the current song.".PHP_EOL.PHP_EOL.PHP_EOL;
|
||||
$message .= "Emojis: ".implode('', $call->getVisualization() ?? []);
|
||||
|
||||
$this->messages->editMessage(['id' => $this->messageIds[$call->otherID], 'peer' => $user, 'message' => $message]);
|
||||
@ -309,7 +309,7 @@ Note for iOS users: the official Telegram iOS app has a bug which prevents me fr
|
||||
}
|
||||
try {
|
||||
$message = 'Total running calls: '.(count($this->calls)+1).PHP_EOL.PHP_EOL;
|
||||
$message .= PHP_EOL.PHP_EOL.PHP_EOL;
|
||||
$message .= "Send /skip to skip the current song.".PHP_EOL.PHP_EOL.PHP_EOL;
|
||||
$message .= "Emojis: ".implode('', $call->getVisualization() ?? []);
|
||||
|
||||
$this->messageIds[$call->otherID] = $this->sendMessage(peer: $call->otherID, message: $message)->id;
|
||||
|
Loading…
Reference in New Issue
Block a user