Discord.Net/docs/guides/dependency_injection/samples/property-injecting.cs
2024-06-13 17:43:59 +12:00

9 lines
149 B
C#

public class ClientHandler
{
public DiscordSocketClient Client { get; set; }
public async Task ConfigureAsync()
{
//...
}
}