Comments (10)
As I suspected.
I'm going to try to get that fixed tonight.
You don't need to reset the database. But if you wish to do so you can delete the data
folder generated on the root of the project folder (where package.json
is located), not to be confused with provider-data
.
The problem happens because the bot has also a feature where you can save settings for a specific channel so you can use the TTS functionality without the need to use any command. When a channel gets deleted, the bot removes the data stored for that channel, but since your auto channel never had any data associated to it then the bot crashes because it tried to remove something that doesn't exist.
from discord-tts-bot.
Fixed in #66.
from discord-tts-bot.
Hey there, do you perhaps know if you ran any command that triggered this error or did it happen randomly?
Maybe the bot left a server or did it join a new one?
I'm kinda surprised how unhelpful the stack trace is lol.
from discord-tts-bot.
Hello, the error just randomly got triggered even without running any command since I start the bot
I did kick the bot and invite it again before (to skip global commands to refresh), maybe that's the cause of this error
from discord-tts-bot.
Ah I think I got it,
Did you perhaps delete a channel when the bot crashed?
from discord-tts-bot.
nah I didn't do anything when the bot crashed
I had to make a new one and it runs fine now without error, thanks
from discord-tts-bot.
Are you sure?
I'm gonna try later today but I'm almost 100% sure that this happens when using the level data provider and deleting a channel.
from discord-tts-bot.
Yes,
The new one has been run for 24h without error, I don't know what makes the old one error
also there's auto channel that will get deleted when there's no one in the voice channel, could be this cause the issue?
from discord-tts-bot.
I still haven't tried it, but something tells me that a channel getting removed (whether it's text or voice, whatever) would make the bot crash.
from discord-tts-bot.
just found that auto channel caused the issue, when a channel got deleted, the bot crashed
is there a way to reset the bot settings/database?
from discord-tts-bot.
Related Issues (20)
- multiple voices to differentiate different speakers? HOT 4
- deploying the slash commands and running the bot seems to want different things out of the settings.json HOT 8
- Slash Commands Not Registering? HOT 4
- Crash on Leaving ${channel.name} do to inactivity HOT 3
- Crash when parsing custom server emojis HOT 1
- Crash when sending images/stickers in TTS channel HOT 3
- Add support for NextUp Ivona TTS engine. HOT 1
- Add an option for the bot to say who said what. HOT 2
- Add support for TTS Tool - Microsoft and Amazon voices. HOT 1
- Settings are broken HOT 3
- Add the option to log what people say in the channel.
- Could you add the prefix to replace the slash command HOT 2
- bot not starting HOT 3
- Bot shouldn't read out links
- The bot shouldn't say "User said:" when the same user sends multiple successive messages.
- cannot deploy bot in repl'it HOT 1
- Re-enable the prefix commands HOT 3
- Google_tts slow speed is the same as normal HOT 1
- How to use TTS without `/say` command after have joined channel HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-tts-bot.