discord-api-docs
discord-api-docs copied to clipboard
Guild scheduled event creator is always None
Description
Guild schedule event creator is None
Steps to Reproduce
wait for guild_scheduled_event_create and print event creator to console
Expected Behavior
i want to see member, who created this event
Current Behavior
event creator returns None
Screenshots/Videos
this is simple code to test this bug
import nextcord
from nextcord.ext import commands
bot = commands.Bot(command_prefix = '!', intents = nextcord.Intents.all())
@bot.event
async def on_guild_scheduled_event_create(event:nextcord.ScheduledEvent):
print(f'Event creator is {event.creator}')
#Here is error
#Event creator is None
#i checked in pdb event.creator is None
bot.run('TOKEN')
Client and System Information
i'm using library nextcord library using api v10 i wrote to developers and after they wrote to discord developer portal, but no answer was given
The creator
field was introduced as a convenience field when fetching via the API. It wasn't originally intended to be populated for gateway events, esp since these events get dispatched to many users at a time. I believe the creator_id
field should still be populated though. Is this a major inconvenience? Mind sharing your use case :)