Files
Discord.Net/docs/guides/samples.md
2016-08-27 22:16:51 -04:00

511 B

title
title
Samples

Samples

Note

All of these samples assume you have _client defined as a DiscordSocketClient.

Changing the bot's avatar

[!code-csharpBot Avatar]

Changing the bot's status

[!code-sharpBot Status]

Sending a message to a channel

[!code-csharpMessage to Channel]

Retrieving an IGuild from an IUserMessage

[!code-csharpMessage to Guild]