From 0bdf5b84353ea72f91b9674588de980d7d2a63cf Mon Sep 17 00:00:00 2001 From: Erisa A Date: Sun, 16 Jul 2023 21:26:43 +0100 Subject: [PATCH] Intents hotfix (#110) --- Gemfile | 2 +- Gemfile.lock | 12 +++++++++--- modules/setup.rb | 1 + 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index d777b48..c920160 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ # frozen_string_literal: true source 'https://rubygems.org' -gem 'commandrb' +gem 'commandrb', git: 'https://github.com/Yuuki-Discord/commandrb.git', branch: 'intents-hotfix' gem 'discordrb', '>= 3.5.0' gem 'haste' diff --git a/Gemfile.lock b/Gemfile.lock index 7ed1356..c724076 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,11 +1,17 @@ +GIT + remote: https://github.com/Yuuki-Discord/commandrb.git + revision: 03b0ebd75a4ef809813276e045a189116d0c5a52 + branch: intents-hotfix + specs: + commandrb (0.4.8) + discordrb (~> 3.1, >= 3.1.0) + GEM remote: https://rubygems.org/ specs: ast (2.4.2) chunky_png (1.4.0) coderay (1.1.3) - commandrb (0.5.0) - discordrb (~> 3.1, >= 3.1.0) debase (0.2.5.beta2) debase-ruby_core_source (>= 0.10.12) debase-ruby_core_source (0.10.16) @@ -92,7 +98,7 @@ PLATFORMS ruby DEPENDENCIES - commandrb + commandrb! debase (~> 0.2.5.beta2) discordrb (>= 3.5.0) fastri diff --git a/modules/setup.rb b/modules/setup.rb index f7284d8..85a8b7e 100644 --- a/modules/setup.rb +++ b/modules/setup.rb @@ -92,6 +92,7 @@ def self.build_init type: @config['type'], game: @config['game'], owners: @config['owners'], + intents: :unprivileged, typing_default: @config['typing_default'], ready: proc { |event|