diff --git a/Geekbot.net/Commands/Audio/Voice.cs b/Geekbot.net/Commands/Audio/Voice.cs index e8f3134..410d8e2 100644 --- a/Geekbot.net/Commands/Audio/Voice.cs +++ b/Geekbot.net/Commands/Audio/Voice.cs @@ -18,7 +18,7 @@ namespace Geekbot.net.Commands.Audio _audioUtils = audioUtils; } - [Command("join")] +// [Command("join")] public async Task JoinChannel() { try @@ -27,12 +27,10 @@ namespace Geekbot.net.Commands.Audio var channel = (Context.User as IGuildUser)?.VoiceChannel; if (channel == null) { - await Context.Channel.SendMessageAsync( - "User must be in a voice channel, or a voice channel must be passed as an argument."); + await Context.Channel.SendMessageAsync("You must be in a voice channel."); return; } - // For the next step with transmitting audio, you would want to pass this Audio Client in to a service. var audioClient = await channel.ConnectAsync(); _audioUtils.StoreAudioClient(Context.Guild.Id, audioClient); await ReplyAsync($"Connected to {channel.Name}"); @@ -43,7 +41,7 @@ namespace Geekbot.net.Commands.Audio } } - [Command("disconnect")] +// [Command("disconnect")] public async Task DisconnectChannel() { try @@ -66,7 +64,7 @@ namespace Geekbot.net.Commands.Audio } } - [Command("ytplay")] +// [Command("ytplay")] public async Task ytplay(string url) { try diff --git a/Geekbot.net/Geekbot.net.csproj b/Geekbot.net/Geekbot.net.csproj index 5cba28a..861085b 100755 --- a/Geekbot.net/Geekbot.net.csproj +++ b/Geekbot.net/Geekbot.net.csproj @@ -3,7 +3,7 @@ Exe netcoreapp2.0 derp.ico - 3.6.0 + 3.7.0 Pizza and Coffee Studios Pizza and Coffee Studios A Discord bot diff --git a/Geekbot.net/Lib/Constants.cs b/Geekbot.net/Lib/Constants.cs index d754b5c..dbba570 100644 --- a/Geekbot.net/Lib/Constants.cs +++ b/Geekbot.net/Lib/Constants.cs @@ -3,7 +3,7 @@ public class Constants { public const string Name = "Geekbot"; - public const double BotVersion = 3.6; + public const double BotVersion = 3.7; public const double ApiVersion = 1; } } \ No newline at end of file diff --git a/Geekbot.net/Lib/Logger/LoggerFactory.cs b/Geekbot.net/Lib/Logger/LoggerFactory.cs index 491197c..d32d80b 100644 --- a/Geekbot.net/Lib/Logger/LoggerFactory.cs +++ b/Geekbot.net/Lib/Logger/LoggerFactory.cs @@ -30,7 +30,7 @@ namespace Geekbot.net.Lib.Logger OptimizeBufferReuse = true, MessagesPerRequest = 10, RetryInterval = 5000, - Name = "GeekbotBeta" + Name = "Geekbot" }) ); }