Include Documentation for Migrating from 0.9.x to 1.0
This commit is contained in:
4
docs/guides/samples/migrating/event.cs
Normal file
4
docs/guides/samples/migrating/event.cs
Normal file
@@ -0,0 +1,4 @@
|
||||
_client.MessageReceived += async (msg) =>
|
||||
{
|
||||
await msg.Channel.SendMessageAsync(msg.Content);
|
||||
}
|
||||
5
docs/guides/samples/migrating/sync_event.cs
Normal file
5
docs/guides/samples/migrating/sync_event.cs
Normal file
@@ -0,0 +1,5 @@
|
||||
_client.Log += (msg) =>
|
||||
{
|
||||
Console.WriteLine(msg.ToString());
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
@@ -1,3 +1,8 @@
|
||||
---
|
||||
uid: Terminology
|
||||
title: Terminology
|
||||
---
|
||||
|
||||
# Terminology
|
||||
|
||||
## Preface
|
||||
|
||||
Reference in New Issue
Block a user