Skip to content

Commit

Permalink
Fixed Auto-VC channel counting
Browse files Browse the repository at this point in the history
Version Bump
Fixed description
  • Loading branch information
Voltstro committed Dec 29, 2019
1 parent c8f43c3 commit 11126b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Pootis-Bot/Events/UserEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public async Task UserVoiceStateUpdated(SocketUser user, SocketVoiceState before
{
RestVoiceChannel createdChannel =
await after.VoiceChannel.Guild.CreateVoiceChannelAsync(
$"{voiceChannel.Name} #" + server.ActiveAutoVoiceChannels.Count + 1, x =>
$"{voiceChannel.Name} #" + (server.ActiveAutoVoiceChannels.Count + 1), x =>
{
x.CategoryId = after.VoiceChannel.CategoryId;
x.Bitrate = after.VoiceChannel.Bitrate;
Expand Down
4 changes: 2 additions & 2 deletions src/Pootis-Bot/Pootis-Bot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageProjectUrl>https://pootis-bot.creepysin.com</PackageProjectUrl>
<RepositoryUrl>https://github.com/Creepysin/Pootis-Bot</RepositoryUrl>
<Description>Pootis-Bot, an all in one C# Discord.NET Bot</Description>
<Version>1.0.1</Version>
<Description>Pootis-Bot, a multipurpose, open-source Discord bot written in the C# language using Discord.NET</Description>
<Version>1.0.2</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down

0 comments on commit 11126b1

Please sign in to comment.