fix: Joke answers are now shown correctly
This commit is contained in:
parent
84a34deec6
commit
3206317963
1 changed files with 2 additions and 1 deletions
|
@ -36,8 +36,9 @@ namespace Messaging {
|
|||
}
|
||||
|
||||
private async void SendRandomJoke(float delay) {
|
||||
_currentJoke = GetRandomJoke();
|
||||
//TODO: Lock send button here
|
||||
await Task.Delay((int)(delay * 1000));
|
||||
_currentJoke = GetRandomJoke();
|
||||
CreateMessage(_currentJoke.QuestionMessage.Key, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue