Updated Socket in config

This commit is contained in:
SowinskiBraeden committed 2021-08-03 17:55:56 -07:00
1 parent f7c03488ed
commit 997d277890
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ async function updateStatus(message, args, prefix) {
onDuty: onDuty,
updateDuty: updateDuty
};
const socket = io.connect('http://localhost:8080');
const socket = io.connect(config.socket);
socket.emit('bot_update_status', req);
socket.on('bot_updated_status', (res) => {
return message.channel.send(`Succesfully updated status to **${args[0]}** ${message.author}!`);