mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Durr I'm an idiot
This commit is contained in:
@@ -68,7 +68,7 @@ public class GmKasinoCommand : ICommand
|
||||
var images = (await Helpers.GetValue(BuiltIn.Keys.BotGmKasinoImageRotation)).JsonDeserialize<List<string>>();
|
||||
if (images == null) return;
|
||||
var random = new Random();
|
||||
var image = images[random.Next(images.Count + 1)];
|
||||
var image = images[random.Next(images.Count)];
|
||||
botInstance.SendChatMessage($"[img]{image}[/img]", true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user