alexemanuelol / rustplusplus

A NodeJS Discord Bot that uses the rustplus.js library to utilize the power of the Rust+ Companion App with additional Quality-of-Life features.
GNU General Public License v3.0
214 stars 101 forks source link

update- error on startup #166

Closed undeci16 closed 1 year ago

undeci16 commented 1 year ago

`2023-4-02 11:20:30 ERROR: Message edit failed: ,Error: ENOENT: no such file or directory, stat 'C:\Users\bran_\Desktop\rustplus3\rustPlusPlus\src\resources\images\electrics\undefined'

2023-4-02 11:20:30 Unhandled Rejection: ,TypeError: Cannot read properties of undefined (reading 'id'): undefined

TypeError: Cannot read properties of undefined (reading 'id')

at Object.sendSmartSwitchGroupMessage (C:\Users\bran_\Desktop\rustplus3\rustPlusPlus\src\discordTools\discordMessages.js:183:85)

at async module.exports (C:\Users\bran_\Desktop\rustplus3\rustPlusPlus\src\discordTools\SetupSwitchGroups.js:33:9)

at async Object.execute (C:\Users\bran_\Desktop\rustplus3\rustPlusPlus\src\rustplusEvents\connected.js:81:9)`

alexemanuelol commented 1 year ago

Could be solved by just re-creating your smart switch group.