I'm attempting to make a discord events bot using nextcord.py/dpy and the discord official events but I'm having trouble with entity_type as its giving me an error type error str doesn't have attribute value and im confused about this
here is my command
@client.command(name='rp' ,help= 'creates an event')
async def rp(ctx, name=None, time =None, reason = None):
#external =
channel = nextcord.utils.get(ctx.guild.channels, name = 'roleplay-sessions')
await ctx.guild.create_scheduled_event(name=name, channel = channel, start_time = time, description = reason, entity_type = 'external')
any help would be awesome as its been 13 hours and my head hurts thanks