Skip to content

Commit

Permalink
feat: DisCatSharp.Voice base
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Jul 25, 2023
1 parent adeb85b commit eaad2e2
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 0 deletions.
1 change: 1 addition & 0 deletions DisCatSharp.Targets/InternalsVisibleTo.targets
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<InternalsVisibleTo Include="DisCatSharp.Support" />
<InternalsVisibleTo Include="DisCatSharp.Tests" />
<InternalsVisibleTo Include="DisCatSharp.SafetyTests.Internal" />
<InternalsVisibleTo Include="DisCatSharp.Voice" />
<InternalsVisibleTo Include="DisCatSharp.VoiceNext" />
<InternalsVisibleTo Include="DisCatSharp.VoiceNext.Natives" />
<InternalsVisibleTo Include="DisCatSharp.DevTools" />
Expand Down
6 changes: 6 additions & 0 deletions DisCatSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DisCatSharp.SafetyTests", "
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DisCatSharp.Lavalink", "DisCatSharp.Lavalink\DisCatSharp.Lavalink.csproj", "{1ADC1D06-3DB8-4741-B740-13161B40CBA3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DiscatSharp.Voice", "DiscatSharp.Voice\DiscatSharp.Voice.csproj", "{69DF6B77-4A27-4D48-BB05-D25DF93A2AD0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -163,6 +165,10 @@ Global
{1ADC1D06-3DB8-4741-B740-13161B40CBA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1ADC1D06-3DB8-4741-B740-13161B40CBA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1ADC1D06-3DB8-4741-B740-13161B40CBA3}.Release|Any CPU.Build.0 = Release|Any CPU
{69DF6B77-4A27-4D48-BB05-D25DF93A2AD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{69DF6B77-4A27-4D48-BB05-D25DF93A2AD0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{69DF6B77-4A27-4D48-BB05-D25DF93A2AD0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{69DF6B77-4A27-4D48-BB05-D25DF93A2AD0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
27 changes: 27 additions & 0 deletions DiscatSharp.Voice/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// This file is part of the DisCatSharp project, based off DSharpPlus.
//
// Copyright (c) 2021-2023 AITSYS
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

namespace DisCatSharp.Voice;
public class Class1
{

}
47 changes: 47 additions & 0 deletions DiscatSharp.Voice/DiscatSharp.Voice.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<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.Voice</AssemblyName>
<RootNamespace>DisCatSharp.Voice</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

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

Easy made audio player for discord bots.

Documentation: https://docs.dcs.aitsys.dev/articles/modules/audio/voice/intro.html
</Description>
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net6,Net7,Voice,Audio Player</PackageTags>
<Nullable>annotations</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="DisCatSharp.Analyzer.Roselyn" Version="5.4.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="DisCatSharp.Attributes" Version="10.4.0" />
<PackageReference Include="Microsoft.DependencyValidation.Analyzers" Version="0.11.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="System.Threading.Channels" Version="7.0.0" />
</ItemGroup>

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

<ItemGroup>
<ProjectReference Include="..\DisCatSharp.VoiceNext.Natives\DisCatSharp.VoiceNext.Natives.csproj" />
</ItemGroup>
</Project>

0 comments on commit eaad2e2

Please sign in to comment.