How to rename a channel when bot goes offline?
Here is what I did:
I can see the 'exit' console log, but the channel isn't renamed. Any help is appreciated.
npm: 22.9.0
DJS: 14.16.3
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPwell if your bot crashes it wont be able to do stuff
maybe I wasn't clear, I mean when i ctrl + c the bot, or (eventually, when I set it up), the systemd service gets stopped
ok, is there any way to fix that? Can I make the event listener somehow await the function?
(Ive been trying a lot of revisions, but nothing is working, maybe I should make that through another method or shomething? )
Ok, marking as solved.