Skip to content

Commit

Permalink
chore: cleanup, code style & formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Dec 24, 2023
1 parent c03b73b commit 33f5301
Show file tree
Hide file tree
Showing 55 changed files with 892 additions and 1,015 deletions.
Original file line number Diff line number Diff line change
@@ -1,48 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>

<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../DisCatSharp.Targets/Version.targets" />
<Import Project="../DisCatSharp.Targets/DisCatSharp.targets" />
<Import Project="../DisCatSharp.Targets/Package.targets" />
<Import Project="../DisCatSharp.Targets/NuGet.targets" />
<Import Project="../DisCatSharp.Targets/Library.targets" />
<Import Project="../DisCatSharp.Targets/InternalsVisibleTo.targets" />

<PropertyGroup>
<AssemblyName>DisCatSharp.ApplicationCommands</AssemblyName>
<RootNamespace>DisCatSharp.ApplicationCommands</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<PackageId>DisCatSharp.ApplicationCommands</PackageId>
<Description>
DisCatSharp Application Commands Extension

Use it on top of your DisCatSharp powered bot and unleash the power of application commands in discord.

Documentation: https://docs.dcs.aitsys.dev/articles/modules/application_commands/intro.html
</Description>
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Application Commands,Context Menu Commands</PackageTags>

</PropertyGroup>

<ItemGroup>
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="6.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="DisCatSharp.Attributes" Version="10.4.4" />
<PackageReference Include="Microsoft.DependencyValidation.Analyzers" Version="0.11.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DisCatSharp\DisCatSharp.csproj" />
<ProjectReference Include="..\DisCatSharp.Common\DisCatSharp.Common.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
<Import Project="../DisCatSharp.Targets/Version.targets" />
<Import Project="../DisCatSharp.Targets/DisCatSharp.targets" />
<Import Project="../DisCatSharp.Targets/Package.targets" />
<Import Project="../DisCatSharp.Targets/NuGet.targets" />
<Import Project="../DisCatSharp.Targets/Library.targets" />
<Import Project="../DisCatSharp.Targets/InternalsVisibleTo.targets" />

<PropertyGroup>
<AssemblyName>DisCatSharp.ApplicationCommands</AssemblyName>
<RootNamespace>DisCatSharp.ApplicationCommands</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<PackageId>DisCatSharp.ApplicationCommands</PackageId>
<Description>
DisCatSharp Application Commands Extension

Use it on top of your DisCatSharp powered bot and unleash the power of application commands in discord.

Documentation: https://docs.dcs.aitsys.dev/articles/modules/application_commands/intro.html
</Description>
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Application Commands,Context Menu Commands</PackageTags>

</PropertyGroup>

<ItemGroup>
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="6.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="DisCatSharp.Attributes" Version="10.4.4" />
<PackageReference Include="Microsoft.DependencyValidation.Analyzers" Version="0.11.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DisCatSharp\DisCatSharp.csproj" />
<ProjectReference Include="..\DisCatSharp.Common\DisCatSharp.Common.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
</Project>
89 changes: 45 additions & 44 deletions DisCatSharp.CommandsNext/DisCatSharp.CommandsNext.csproj
Original file line number Diff line number Diff line change
@@ -1,49 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>

<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../DisCatSharp.Targets/Version.targets" />
<Import Project="../DisCatSharp.Targets/DisCatSharp.targets" />
<Import Project="../DisCatSharp.Targets/Package.targets" />
<Import Project="../DisCatSharp.Targets/NuGet.targets" />
<Import Project="../DisCatSharp.Targets/Library.targets" />
<Import Project="../DisCatSharp.Targets/InternalsVisibleTo.targets" />

<PropertyGroup>
<AssemblyName>DisCatSharp.CommandsNext</AssemblyName>
<RootNamespace>DisCatSharp.CommandsNext</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<PackageId>DisCatSharp.CommandsNext</PackageId>
<Description>
DisCatSharp Commands Next Extension

Allow your users to use text commands in your bot.

Note: Requires the Message Content Intent enabled for your discord application.
Documentation: https://docs.dcs.aitsys.dev/articles/modules/commandsnext/intro.html
</Description>
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Text Commands</PackageTags>

</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\DisCatSharp\DisCatSharp.csproj" />
<ProjectReference Include="..\DisCatSharp.Common\DisCatSharp.Common.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="6.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="DisCatSharp.Attributes" Version="10.4.4" />
<PackageReference Include="Microsoft.DependencyValidation.Analyzers" Version="0.11.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
<Import Project="../DisCatSharp.Targets/Version.targets" />
<Import Project="../DisCatSharp.Targets/DisCatSharp.targets" />
<Import Project="../DisCatSharp.Targets/Package.targets" />
<Import Project="../DisCatSharp.Targets/NuGet.targets" />
<Import Project="../DisCatSharp.Targets/Library.targets" />
<Import Project="../DisCatSharp.Targets/InternalsVisibleTo.targets" />

<PropertyGroup>
<AssemblyName>DisCatSharp.CommandsNext</AssemblyName>
<RootNamespace>DisCatSharp.CommandsNext</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<PackageId>DisCatSharp.CommandsNext</PackageId>
<Description>
DisCatSharp Commands Next Extension

Allow your users to use text commands in your bot.

Note: Requires the Message Content Intent enabled for your discord application.
Documentation: https://docs.dcs.aitsys.dev/articles/modules/commandsnext/intro.html
</Description>
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Text Commands</PackageTags>

</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\DisCatSharp\DisCatSharp.csproj" />
<ProjectReference Include="..\DisCatSharp.Common\DisCatSharp.Common.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="6.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="DisCatSharp.Attributes" Version="10.4.4" />
<PackageReference Include="Microsoft.DependencyValidation.Analyzers" Version="0.11.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>

</Project>
83 changes: 42 additions & 41 deletions DisCatSharp.Common/DisCatSharp.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,46 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>

<Project Sdk="Microsoft.NET.Sdk">

<Import Project="../DisCatSharp.Targets/Version.targets" />
<Import Project="../DisCatSharp.Targets/DisCatSharp.targets" />
<Import Project="../DisCatSharp.Targets/NuGet.targets" />
<Import Project="../DisCatSharp.Targets/Library.targets" />
<Import Project="../DisCatSharp.Targets/InternalsVisibleTo.targets" />
<Import Project="../DisCatSharp.Targets/Package.targets" />

<PropertyGroup>
<AssemblyName>DisCatSharp.Common</AssemblyName>
<RootNamespace>DisCatSharp.Common</RootNamespace>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>

<PropertyGroup>
<PackageId>DisCatSharp.Common</PackageId>
<Description>
DisCatSharp Common Extension

Common tools for DisCatSharp, like regexes and converters!
</Description>
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Common Tools</PackageTags>

</PropertyGroup>

<ItemGroup>
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="6.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="DisCatSharp.Attributes" Version="10.4.4" />
<PackageReference Include="Microsoft.DependencyValidation.Analyzers" Version="0.11.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>
<Import Project="../DisCatSharp.Targets/Version.targets" />
<Import Project="../DisCatSharp.Targets/DisCatSharp.targets" />
<Import Project="../DisCatSharp.Targets/NuGet.targets" />
<Import Project="../DisCatSharp.Targets/Library.targets" />
<Import Project="../DisCatSharp.Targets/InternalsVisibleTo.targets" />
<Import Project="../DisCatSharp.Targets/Package.targets" />

<PropertyGroup>
<AssemblyName>DisCatSharp.Common</AssemblyName>
<RootNamespace>DisCatSharp.Common</RootNamespace>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>

<PropertyGroup>
<PackageId>DisCatSharp.Common</PackageId>
<Description>
DisCatSharp Common Extension

Common tools for DisCatSharp, like regexes and converters!
</Description>
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Common Tools</PackageTags>

</PropertyGroup>

<ItemGroup>
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="6.2.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="DisCatSharp.Attributes" Version="10.4.4" />
<PackageReference Include="Microsoft.DependencyValidation.Analyzers" Version="0.11.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
<PackageReference Include="System.Memory" Version="4.5.5" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="8.0.0" />
</ItemGroup>

</Project>
Loading

0 comments on commit 33f5301

Please sign in to comment.