Skip to content

Commit

Permalink
try to better guarantee disconnect, for #26
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Nov 24, 2019
1 parent 4ebca0a commit 102a113
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -307,7 +307,7 @@ public void execute(ScriptEntry scriptEntry) {
if (requireClientID.get()) {
return;
}
DenizenDiscordBot.instance.connections.remove(id.asString()).client.logout();
DenizenDiscordBot.instance.connections.remove(id.asString()).client.logout().block();
break;
}
case MESSAGE: {
Expand Down

0 comments on commit 102a113

Please sign in to comment.