Giter Club home page Giter Club logo

Comments (10)

moonstar-x avatar moonstar-x commented on June 28, 2024 1

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.

moonstar-x avatar moonstar-x commented on June 28, 2024 1

Fixed in #66.

from discord-tts-bot.

moonstar-x avatar moonstar-x commented on June 28, 2024

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.

Natame avatar Natame commented on June 28, 2024

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.

moonstar-x avatar moonstar-x commented on June 28, 2024

Ah I think I got it,

Did you perhaps delete a channel when the bot crashed?

from discord-tts-bot.

Natame avatar Natame commented on June 28, 2024

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.

moonstar-x avatar moonstar-x commented on June 28, 2024

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.

Natame avatar Natame commented on June 28, 2024

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.

moonstar-x avatar moonstar-x commented on June 28, 2024

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.

Natame avatar Natame commented on June 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.