wm: mohandes-bot

Download patch

ref: 7f016c237a6ddddaedf899510d87f7200e82c9c1
parent: a5c6bdfa6e44dff4de0fb2ff633c1e723f597c83
author: jm <scorpion_rn@yahoo.com>
date: Fri Dec 29 14:38:53 EST 2023

Message Reception Issue in SuperGroup Fixed

--- a/Telbot.rb
+++ b/Telbot.rb
@@ -1,6 +1,6 @@
 require 'telegram/bot'
 
-token = "your-bot-token'
+token = "6672739302:AAE56rxiQugSQpngM-3q5EJv8xnHp2JMbSQ"
 id = "@mohandese_riazi_dan_bot"
 admin = 331358784
 silent = false
@@ -65,10 +65,10 @@
               a.slice! "#{id} "
 
               if (message.from.id == admin) then
-                if (b.eql?("off"))
+                if (a.eql?("off"))
                   silent = true
                 end
-                if (b.eql?("on"))
+                if (a.eql?("on"))
                   silent = false
                 end
               end