Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

discord bot status code c#

//in commands.cs file

public class Help : ModuleBase<SocketCommandContext>
        {
            [Command("test")]
            public async Task TestAsync()
            {
                await Context.Client.SetGameAsync("Game");

                await Task.CompletedTask;
            }
        }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: SAVE FLOAT UNITY 
Csharp :: c# append textbox 
Csharp :: asp.net core identity get user id 
Csharp :: c# list index 
Csharp :: convert int to short c# 
Csharp :: c# LCP 
Csharp :: difference between while and do while in c# 
Csharp :: dotnet ef migrations to folder 
Csharp :: unity how to load a scene 
Csharp :: c# how to refresh your binding source 
Csharp :: c# object to dictionary 
Csharp :: c# shuffle list 
Csharp :: random in unity 
Csharp :: c# get the last item in a list 
Csharp :: convert from xls to xlsx C# 
Csharp :: c# base64 encode 
Csharp :: dictionary c# iterate 
Csharp :: mvc 5 dropdownlist 
Csharp :: c# check if 2d array position exists 
Csharp :: this in unity 
Csharp :: c# convert split to list 
Csharp :: check if animation is playing unity 
Csharp :: unity get all children 
Csharp :: c# datagridview cell click event 
Csharp :: unity c# foreach 
Csharp :: c# cast to int 
Csharp :: how to put double quotes in a string c# 
Csharp :: get last character of string c# 
Csharp :: c# connect tcp 
Csharp :: initialize list in c# 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =