chore(lint): add void for dangling promise

This commit is contained in:
Jef LeCompte
2021-01-12 12:18:50 -05:00
parent c479ce2b6a
commit 52c7e74372
+1 -1
View File
@@ -65,7 +65,7 @@ chatClient.onJoin((channel: string, user: string) => {
if (message !== undefined) {
try {
chatClient.say(channel, message);
void chatClient.say(channel, message);
logger.info('✔ twitch message sent');
} catch (error: unknown) {
logger.error("✖ couldn't send twitch message", error);