#SocketGuildEvent / IGuildScheduledEvent "Creator" field is null in event handlers

1 messages · Page 1 of 1 (latest)

dry vortex
#

The "Creator" field is null for some reason in my event handler, even with something barebones "Creator" just isn't being filled in when it seemingly should be.

austere summit
#

what gateway intents do you have enabled

dry vortex
#
        services.AddSingleton<DiscordSocketConfig>(new DiscordSocketConfig
        {
            GatewayIntents = GatewayIntents.GuildScheduledEvents
                             | GatewayIntents.DirectMessageTyping
                             | GatewayIntents.DirectMessageReactions
                             | GatewayIntents.DirectMessages
                             | GatewayIntents.GuildMessageTyping
                             | GatewayIntents.GuildMessageReactions
                             | GatewayIntents.GuildMessages
                             | GatewayIntents.GuildVoiceStates
        });
austere summit
#

try adding guilds and guildUsers

dry vortex
#

Guilds seemed to do it, thanks!

#

Weird, now it suddenly isn't again

#

AA_Kanna_Hmm Adding the Guilds intent seemed to work, but after re-starting the bot a few times, now Creator is null again, even after adding and removing the Guilds intent and re-starting the bot a few times

austere summit
#

it's probably an issue with caching then

dry vortex
#

on discords side?

austere summit
#

on your bots

#

you could try setting AlwaysDownloadUsers to true

dry vortex
#

sadly doesn't solve it sadCat