mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Reworked currency service. Some features are missing
This commit is contained in:
@@ -96,7 +96,7 @@ public sealed class HangmanService : IHangmanService, ILateExecutor
|
||||
}
|
||||
|
||||
if (rew > 0)
|
||||
await _cs.AddAsync(msg.Author, "hangman win", rew, gamble: true);
|
||||
await _cs.AddAsync(msg.Author, rew, new("hangman", "win"));
|
||||
|
||||
await SendState((ITextChannel)msg.Channel, msg.Author, msg.Content, state);
|
||||
}
|
||||
|
@@ -251,7 +251,7 @@ public class TriviaGame
|
||||
|
||||
var reward = _config.Trivia.CurrencyReward;
|
||||
if (reward > 0)
|
||||
await _cs.AddAsync(guildUser, "Won trivia", reward, true);
|
||||
await _cs.AddAsync(guildUser, reward, new("trivia", "win"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user