❔ cant use variable in respond async
hello i am new to c# I have a invite command for my discord bot but it gives me a error when i put my variable inside respondasync
public async Task invite()
{
var defaultChannel = await Context.Guild.DefaultChannel.CreateInviteAsync();
await RespondAsync(defaultChannel)`;