daniil 🧠
This commit is contained in:
@@ -64,6 +64,13 @@ final class index extends core
|
|||||||
$message->react('😬');
|
$message->react('😬');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($message->author->id === '380876873468608522' && rand(0, 100) < 6) {
|
||||||
|
// Сообщение от Даниила Богданова (godandem) и шанс 5%
|
||||||
|
|
||||||
|
// Отправка изображения: "надругался над даниилом богдановым"
|
||||||
|
$message->channel->sendMessage(_message::new()->addFile('images/daniil.png'));
|
||||||
|
}
|
||||||
|
|
||||||
foreach (explode(' ', $message->content) as $word) {
|
foreach (explode(' ', $message->content) as $word) {
|
||||||
// Перебор слов из текста сообщения
|
// Перебор слов из текста сообщения
|
||||||
|
|
||||||
|
BIN
mirzaev/marina/system/public/images/daniil.png
Normal file
BIN
mirzaev/marina/system/public/images/daniil.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 390 KiB |
Reference in New Issue
Block a user