From 12c63fd6c1604db7154124038539e7a692e5139c Mon Sep 17 00:00:00 2001 From: "DavidCrompton1192@gmail.com" Date: Fri, 10 Mar 2023 00:29:55 -0500 Subject: [PATCH] Disable Guild Check --- src/events.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/events.rs b/src/events.rs index a85b078..43d8b42 100644 --- a/src/events.rs +++ b/src/events.rs @@ -15,9 +15,9 @@ impl EventHandler for Handler { // In this case, just print what the current user's username is. async fn ready(&self, ctx: Context, ready: Ready) { println!("{} is connected!", ready.user.name); - for g_id in ctx.cache.guilds() { - let g = ctx.cache.guild(g_id).expect("Unable to fetch guild"); - println!("Initializing {}...", g.name); - } + // for g_id in ctx.cache.guilds() { + // let g = ctx.cache.guild(g_id).expect("Unable to fetch guild"); + // println!("Initializing {}...", g.name); + // } } }