Skip to content

Commit

Permalink
πŸ› Fix UtilityFunctions issue
Browse files Browse the repository at this point in the history
* Game.cs was trying to use UtilityFunctions nstead of Utils.
  • Loading branch information
Eremiell committed Jan 3, 2022
1 parent 6aece9b commit ac67629
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UPBot Code/Commands/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ public async Task GameCommand(CommandContext ctx)
[Description("Returns True or False")]
public async Task BoolCommand(CommandContext ctx)
{
UtilityFunctions.LogUserCommand(ctx);
Utils.LogUserCommand(ctx);
await PlayBool(ctx);
}

[Command("rps")]
[Description("Play Rock, Paper, Scissors")]
public async Task RPSCommand(CommandContext ctx, [Description("rock | paper | scissors")] string kind)
{
UtilityFunctions.LogUserCommand(ctx);
Utils.LogUserCommand(ctx);
await PlayRockPaperScissors(ctx, kind);
}

[Command("rps")]
public async Task RPSCommand(CommandContext ctx)
{
UtilityFunctions.LogUserCommand(ctx);
Utils.LogUserCommand(ctx);
await PlayRockPaperScissors(ctx, null);
}

Expand Down

0 comments on commit ac67629

Please sign in to comment.