Files
Discord.Net/docs/guides/samples/intro/logging.cs
Christopher F d111214bff Added new getting started guide
Thanks @MinnDevelopment for his awesome work on
the JDA guide that had no influence here at all.
2017-03-11 15:32:14 -05:00

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;
}
}
}