Added ":servers" intent to stop the websocket warnings about servers not being cached
This commit is contained in:
@@ -24,7 +24,7 @@ class CheeseBot
|
|||||||
puts "Initializing bot..."
|
puts "Initializing bot..."
|
||||||
@bot = Discordrb::Bot.new(
|
@bot = Discordrb::Bot.new(
|
||||||
token: ENV['BOT_TOKEN'],
|
token: ENV['BOT_TOKEN'],
|
||||||
intents: [:server_messages]
|
intents: [:servers, :server_messages]
|
||||||
)
|
)
|
||||||
|
|
||||||
puts "Registering the Message Checker and Button Handler..."
|
puts "Registering the Message Checker and Button Handler..."
|
||||||
|
|||||||
Reference in New Issue
Block a user