>acro can now be ran with time between 10 and 120 only

This commit is contained in:
Kwoth 2017-02-18 14:13:05 +01:00
parent 90fa989db0
commit bf7d070684
2 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,8 @@ namespace NadekoBot.Modules.Games
[RequireContext(ContextType.Guild)]
public async Task Acro(int time = 60)
{
if (time < 10 || time > 120)
return;
var channel = (ITextChannel)Context.Channel;
var game = new AcrophobiaGame(channel, time);

View File

@ -45,9 +45,8 @@ namespace NadekoBot.Modules.Games
{
if (p == 0)
return "🚀";
else if (p == 1)
if (p == 1)
return "📎";
else
return "✂️";
};