ffs setgame fixed 101% now
This commit is contained in:
parent
21b22add18
commit
796fa10625
@ -317,7 +317,7 @@ namespace NadekoBot.Modules
|
|||||||
.Description("Sets the bots game.")
|
.Description("Sets the bots game.")
|
||||||
.Parameter("set_game", ParameterType.Unparsed)
|
.Parameter("set_game", ParameterType.Unparsed)
|
||||||
.Do(e => {
|
.Do(e => {
|
||||||
if (e.User.Id != NadekoBot.OwnerID || e.GetArg("set_game") != null) return;
|
if (e.User.Id != NadekoBot.OwnerID || e.GetArg("set_game") == null) return;
|
||||||
|
|
||||||
client.SetGame(e.GetArg("set_game"));
|
client.SetGame(e.GetArg("set_game"));
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user