mirror of
https://gitlab.com/ceda_ei/Quadnite-Bot
synced 2025-04-03 19:36:51 +02:00
Fix wrong location for getting reply_id
This commit is contained in:
parent
6e50489f35
commit
abb1e850c2
@ -214,7 +214,7 @@ function kys() {
|
||||
$kys = file('kys.txt');
|
||||
$random_kys = $kys[rand(0,count($kys)-1)];
|
||||
if (isset($decoded->{'message'}->{'reply_to_message'})) {
|
||||
$reply_id = $decoded->{'message'}->{'reply_to_message'}->{'message'}->{'message_id'};
|
||||
$reply_id = $decoded->{'message'}->{'reply_to_message'}->{'message_id'};
|
||||
send_text($random_kys, $reply_id);
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user