소스 검색

learn to spell

Kylie Jo Swistak 5 년 전
부모
커밋
c1fb7c79f3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)