Deleted FAQ
this is sloppy and doesn't properly explain anything
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
public async Task ChangeAvatar()
|
||||
{
|
||||
var fileStream = new FileStream("./newAvatar.png", FileMode.Open);
|
||||
await _client.CurrentUser.ModifyAsync(x => x.Avatar = fileStream);
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
public async Task SendMessageToChannel(ulong ChannelId)
|
||||
{
|
||||
var channel = _client.GetChannel(ChannelId) as SocketMessageChannel;
|
||||
await channel?.SendMessageAsync("aaaaaaaaahhh!!!")
|
||||
/* ^ This question mark is used to indicate that 'channel' may sometimes be null, and in cases that it is null, we will do nothing here. */
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
public async Task ModifyStatus()
|
||||
{
|
||||
await _client.SetStatusAsync(UserStatus.Idle);
|
||||
await _client.SetGameAsync("Type !help for help");
|
||||
}
|
||||
Reference in New Issue
Block a user