TAXI
TAXI
CC#
Created by TAXI on 4/20/2023 in #help
❔ 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)`;

public async Task invite()
{
var defaultChannel = await Context.Guild.DefaultChannel.CreateInviteAsync();



await RespondAsync(defaultChannel)`;
19 replies
CC#
Created by TAXI on 4/15/2023 in #help
implement - basic rate limiting with a Dictionary
How do I do this? This is for my discord bot
7 replies