mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-19 16:33:36 +03:00
asdfsadfsadfasasfsfd
This commit is contained in:
parent
83003a9bd3
commit
dcaa034693
1 changed files with 2 additions and 2 deletions
|
@ -509,7 +509,7 @@ public class ToolsCommandGroup : CommandGroup
|
||||||
/// </returns>
|
/// </returns>
|
||||||
[Command("8ball")]
|
[Command("8ball")]
|
||||||
[DiscordDefaultDMPermission(false)]
|
[DiscordDefaultDMPermission(false)]
|
||||||
[Description("Ask a question to")]
|
[Description("Ask the magic 8-ball a question")]
|
||||||
[UsedImplicitly]
|
[UsedImplicitly]
|
||||||
public async Task<Result> ExecuteEightBallAsync(
|
public async Task<Result> ExecuteEightBallAsync(
|
||||||
// let the user think he's actually asking the ball a question
|
// let the user think he's actually asking the ball a question
|
||||||
|
@ -546,7 +546,7 @@ public class ToolsCommandGroup : CommandGroup
|
||||||
1 => ColorsList.Green,
|
1 => ColorsList.Green,
|
||||||
2 => ColorsList.Yellow,
|
2 => ColorsList.Yellow,
|
||||||
3 => ColorsList.Red,
|
3 => ColorsList.Red,
|
||||||
_ => ColorsList.Default
|
_ => throw new ArgumentOutOfRangeException(nameof(typeNumber))
|
||||||
};
|
};
|
||||||
|
|
||||||
var answer = $"EightBall{AnswerTypes[typeNumber]}{Random.Shared.Next(1, 6)}".Localized();
|
var answer = $"EightBall{AnswerTypes[typeNumber]}{Random.Shared.Next(1, 6)}".Localized();
|
||||||
|
|
Loading…
Add table
Reference in a new issue