use interaction handler

This commit is contained in:
SowinskiBraeden committed 2023-01-21 16:03:55 -08:00
1 parent 2a8252289c
commit 05930e8d33
6 files changed
+38 -15

No files matched your search

+1 -1
View File
@@ -63,8 +63,8 @@ module.exports = {
socket.emit('botping', {message:'hello there'});
socket.on('botpong', (data) => {
if (debugConsole) client.log('Debug: Socket responded')
return interaction.send({ content: `Debug: Socket responded` })
socket.disconnect();
return interaction.send({ content: `Debug: Socket responded` })
});
} else if (command == "apicheck") {