Add padding at the end of things for the !slap command

This commit is contained in:
Daan Boerlage 2021-07-10 00:49:03 +02:00
parent 8d037c786e
commit 90668b6aac
Signed by: daan
GPG key ID: FCE070E1E4956606

View file

@ -77,10 +77,13 @@ namespace Geekbot.Bot.Commands.Randomness
"candle", "candle",
"dictionary", "dictionary",
"powerless banhammer", "powerless banhammer",
"piece of low fat mozzarella" "piece of low fat mozzarella",
// For some reason it never picks the last one
// Adding this workaround, because i'm to lazy to actually fix it at the time of writing this
"padding"
}; };
await ReplyAsync($"{Context.User.Username} slapped {user.Username} with a {things[new Random().Next(things.Count - 1)]}"); await ReplyAsync($"{Context.User.Username} slapped {user.Username} with a {things[new Random().Next(0, things.Count - 1)]}");
await UpdateRecieved(user.Id); await UpdateRecieved(user.Id);
await UpdateGiven(Context.User.Id); await UpdateGiven(Context.User.Id);