Kylie Jo Swistak 6 년 전
부모
커밋
98c8a88aa5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bot.rb

+ 1 - 1
bot.rb

@@ -305,7 +305,7 @@ app = Command.new(:app, desc, opts) do |event, name, status|
   when status && active && character
     if active[1].nil?
       uid = character.user_id
-      user_allowed = (User.find_by(id: uid).level / 10)
+      user_allowed = (User.find_by(id: uid).level / 10 + 1)
       user_allowed = user_allowed + 1 if user.roles.include?('Nitro Booster')
       active_chars = Character.where(user_id: uid, active: 'Active')