From b4278ff7f20b00373aec5bcc3a2e61021c11b2e7 Mon Sep 17 00:00:00 2001 From: xy Date: Mon, 1 Apr 2024 18:00:32 +0900 Subject: [PATCH] Add GatewayIntents to ChatHandler in bootstrap.rs --- src/bin/bootstrap.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/bootstrap.rs b/src/bin/bootstrap.rs index 28f7777..46637d7 100644 --- a/src/bin/bootstrap.rs +++ b/src/bin/bootstrap.rs @@ -1,5 +1,6 @@ use gpt_discord_bot::ChatHandler; -use serenity::prelude::*; +use serenity::all::GatewayIntents; +use serenity::Client; use std::env; use std::path::Path;