Thanks @MinnDevelopment for his awesome work on the JDA guide that had no influence here at all.
22 lines
359 B
C#
22 lines
359 B
C#
using Discord;
|
|
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MyBot
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
=> new Program().MainAsync().GetAwaiter().GetResult();
|
|
|
|
public async Task MainAsync()
|
|
{
|
|
}
|
|
|
|
private Task Log(LogMessage msg)
|
|
{
|
|
Console.WriteLine(msg.ToString());
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
} |