Skip to content

Commit

Permalink
add tts default flag instead of boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Luckshya committed Jun 27, 2020
1 parent 02b5c91 commit 67d0ca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sleepy-discord
Submodule sleepy-discord updated from b910ed to d3a617
2 changes: 1 addition & 1 deletion src/CSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ SQInteger CSession::MessageEmbed(HSQUIRRELVM vm) {
}

try {
auto msg = session->client->sendMessage(channelID, content, *(embed->embed), false, SleepyDiscord::Async);
auto msg = session->client->sendMessage(channelID, content, *(embed->embed), SleepyDiscord::TTS::Default, SleepyDiscord::Async);
}
catch (...) {
OutputErr("An Error has occured at [CSession] function => [MessageEmbed]");
Expand Down

0 comments on commit 67d0ca2

Please sign in to comment.