So basically I want to do a report command for my discord bot, because I know I'm not perfect and others may discover a problem with it that I may don't
[Command("report")]
public async Task Report([Remainder]string report = null)
{
ulong id = 206884438972301312;
DiscordSocketClient client = new DiscordSocketClient();
await client.GetUser(id: id).SendMessageAsync(report);
}
But when I run the command it doesn't work and says that the object is not set to an instance
result.ErrorReason = "Object reference not set to an instance of an object."