Explorar el Código

learn to spell

Kylie Jo Swistak hace 5 años
padre
commit
c1fb7c79f3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bot.rb

+ 1 - 1
bot.rb

@@ -1007,7 +1007,7 @@ bot.message do |event|
     #)
   elsif event.message.channel.id == 644771348073152522 && content.match(/clear chat/i)
     msgs = event.message.channel.history(50)
-    msgs = msgs.reject { |msg| msg.author.webook? || msg.id == 651836628486062081 }
+    msgs = msgs.reject { |msg| msg.author.webhook? || msg.id == 651836628486062081 }
 
     event.message.channel.delete_messages(msgs)