>acro can now be ran with time between 10 and 120 only
This commit is contained in:
parent
90fa989db0
commit
bf7d070684
@ -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);
|
||||
|
@ -45,9 +45,8 @@ namespace NadekoBot.Modules.Games
|
||||
{
|
||||
if (p == 0)
|
||||
return "🚀";
|
||||
else if (p == 1)
|
||||
if (p == 1)
|
||||
return "📎";
|
||||
else
|
||||
return "✂️";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user