[docs] Rename FAQs to Samples
This commit is contained in:
20
docs/guides/samples.md
Normal file
20
docs/guides/samples.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: Samples
|
||||
---
|
||||
|
||||
# Samples
|
||||
|
||||
>[!NOTE]
|
||||
>All of these samples assume you have `_client` defined as a `DiscordSocketClient`.
|
||||
|
||||
#### Changing the bot's avatar
|
||||
|
||||
[!code-csharp[Bot Avatar](samples/faq/avatar.cs)]
|
||||
|
||||
#### Changing the bot's status
|
||||
|
||||
[!code-sharp[Bot Status](samples/faq/status.cs)]
|
||||
|
||||
#### Sending a message to a channel
|
||||
|
||||
[!code-csharp[Message to Channel](samples/faq/send_message.cs)]
|
||||
Reference in New Issue
Block a user