Fixed .totube and .whosplaying
This commit is contained in:
parent
479963bcc1
commit
c374052c5e
@ -23,7 +23,7 @@ namespace NadekoBot.Modules.Utility
|
|||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
[RequireContext(ContextType.Guild)]
|
[RequireContext(ContextType.Guild)]
|
||||||
public async Task TogetherTube(IUserMessage imsg)
|
public async Task TogetherTube()
|
||||||
{
|
{
|
||||||
Uri target;
|
Uri target;
|
||||||
using (var http = new HttpClient())
|
using (var http = new HttpClient())
|
||||||
@ -41,7 +41,7 @@ namespace NadekoBot.Modules.Utility
|
|||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
[RequireContext(ContextType.Guild)]
|
[RequireContext(ContextType.Guild)]
|
||||||
public async Task WhosPlaying(IUserMessage umsg, [Remainder] string game = null)
|
public async Task WhosPlaying([Remainder] string game = null)
|
||||||
{
|
{
|
||||||
game = game.Trim().ToUpperInvariant();
|
game = game.Trim().ToUpperInvariant();
|
||||||
if (string.IsNullOrWhiteSpace(game))
|
if (string.IsNullOrWhiteSpace(game))
|
||||||
|
Loading…
Reference in New Issue
Block a user