This commit is contained in:
Yuzu 2025-04-13 00:23:48 -05:00
parent fb8ce159d3
commit 21cf72449f

View File

@ -39,7 +39,7 @@ pub fn main() !void {
.intents = Discord.Intents.fromRaw(53608447), .intents = Discord.Intents.fromRaw(53608447),
.token = std.posix.getenv("DISCORD_TOKEN").?, .token = std.posix.getenv("DISCORD_TOKEN").?,
.run = .{ .message_create = &message_create, .ready = &ready }, .run = .{ .message_create = &message_create, .ready = &ready },
.cache = Discord.CacheTables, .cache = Discord.CacheTables.defaults(allocator),
}); });
} }
``` ```