I can send an ephemeral view in a guild channel but in dm it isn't ephemeral, what's the issue in my code? Commented out line works in a guild channel
@plugin.command
@Raids.child
@lightbulb.command('create', 'Create a new raid')
@lightbulb.implements(lightbulb.SlashSubCommand)
async def NewRaid(ctx):
await ctx.respond('I sent you a direct message, please follow the instructions there to create your raid!', flags=hikari.MessageFlag.EPHEMERAL)
channel = await plugin.bot.rest.create_dm_channel(ctx.member.id)
raid = Raid()
raid.datetime = dt.datetime.now(tz=datetime.timezone.utc)
raid.host = ctx.member.user.id
raid.hostDisplay = ctx.member.display_name
ActiveRaids.append(raid)
view = RaidSelectView(raid=raid)
message = await channel.send("", components=view, flags=hikari.MessageFlag.EPHEMERAL)
# message = await ctx.respond("", components=view, flags=hikari.MessageFlag.EPHEMERAL)
await view.start(message)