fix: these do not need to use teh cache

This commit is contained in:
silver 2025-07-20 23:44:13 +01:00
parent 1af7f28a45
commit bd9d0cd43f
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 0 additions and 14 deletions

View file

@ -47,13 +47,6 @@ async fn main() {
struct Handler;
#[async_trait]
impl EventHandler for Handler {
async fn cache_ready(&self, ctx: Context, guilds: Vec<GuildId>) {
for guild in guilds {
ctx.shard.chunk_guild(guild, Some(2000), false, ChunkGuildFilter::None, None);
}
println!("Cache built successfully!");
}
async fn ready(&self, ctx: Context, ready: Ready) {
let ctx = Arc::new(ctx);
println!("{} is connected!", ready.user.name);

View file

@ -45,13 +45,6 @@ async fn main() {
struct Handler;
#[async_trait]
impl EventHandler for Handler {
async fn cache_ready(&self, ctx: Context, guilds: Vec<GuildId>) {
for guild in guilds {
ctx.shard.chunk_guild(guild, Some(2000), false, ChunkGuildFilter::None, None);
}
println!("Cache built successfully!");
}
async fn ready(&self, ctx: Context, ready: Ready) {
let ctx = Arc::new(ctx);
println!("{} is connected!", ready.user.name);