--- 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)]