Format the project with 'dotnet format' (#2551)

* Sync and Re-Format

* Fix Title string.

* Fix indentation.
This commit is contained in:
NaN
2023-02-13 14:45:59 -03:00
committed by GitHub
parent 71e9ecb21e
commit 257f246d1d
401 changed files with 3178 additions and 2671 deletions

View File

@@ -1,5 +1,5 @@
using System;
using Discord;
using System;
using Xunit;
namespace Discord;
@@ -17,7 +17,7 @@ public class CommandBuilderTests
ApplicationCommandOptionType.String,
"option1 description",
isRequired: true,
choices: new []
choices: new[]
{
new ApplicationCommandOptionChoiceProperties()
{

View File

@@ -1,4 +1,4 @@
using Discord.Rest;
using Discord.Rest;
using FluentAssertions;
using Moq;
using System;

View File

@@ -1,5 +1,5 @@
using Xunit;
using Discord.Rest;
using Xunit;
namespace Discord
{

View File

@@ -20,7 +20,7 @@ namespace Discord
public DateTimeOffset CreatedAt => throw new NotImplementedException();
public ulong Id => throw new NotImplementedException();
public ChannelFlags Flags => throw new NotImplementedException();
public Task AddPermissionOverwriteAsync(IRole role, OverwritePermissions permissions, RequestOptions options = null)

View File

@@ -1,8 +1,8 @@
using Discord.Audio;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Discord.Audio;
namespace Discord
{

View File

@@ -214,7 +214,7 @@ namespace Discord
{
throw new NotImplementedException();
}
public Task<IUserMessage> SendFileAsync(FileAttachment attachment, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null, ISticker[] stickers = null, Embed[] embeds = null, MessageFlags flags = MessageFlags.None) => throw new NotImplementedException();
public Task<IUserMessage> SendFilesAsync(IEnumerable<FileAttachment> attachments, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null, ISticker[] stickers = null, Embed[] embeds = null, MessageFlags flags = MessageFlags.None) => throw new NotImplementedException();
public Task<IThreadChannel> CreateThreadAsync(string name, ThreadType type = ThreadType.PublicThread, ThreadArchiveDuration autoArchiveDuration = ThreadArchiveDuration.OneDay, IMessage message = null, bool? invitable = null, int? slowmode = null, RequestOptions options = null, MessageFlags flags = MessageFlags.None) => throw new NotImplementedException();

View File

@@ -1,9 +1,9 @@
using Discord.Audio;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Discord.Audio;
namespace Discord
{