Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why does the bot keep resetting itself? #3

Open
s-p-l-o-d-e opened this issue Oct 21, 2021 · 7 comments
Open

why does the bot keep resetting itself? #3

s-p-l-o-d-e opened this issue Oct 21, 2021 · 7 comments

Comments

@s-p-l-o-d-e
Copy link

s-p-l-o-d-e commented Oct 21, 2021

After I setup the bot, go through

.enableonjoin
.domainadd [the domain I want to use].org for some reason it doesn't seem to work if I put the @ in the domain
.rolechange Verified

And for a short period of time, maybe a few hours, it works.
But after a few hours, the bot resets itself for .enableonjoin and .domainadd, although it does keep the proper Verified role (or maybe it resets to the default)
Why does it do this?
Is there any way to keep the configuration persistent?

@humaneBicycle
Copy link

did you ever find a solution?

@s-p-l-o-d-e
Copy link
Author

s-p-l-o-d-e commented Dec 16, 2021 via email

@DE0CH
Copy link

DE0CH commented Jan 17, 2022

Maybe it’s a problem with your database not persisting. Watch bot.db.
The “Verified” role is managed by Discord so the problem with this bot won’t affect that.

@s-p-l-o-d-e
Copy link
Author

That would make sense, the database not persisting.
But I'm not using my own self-hosted database, I just added the standard bot from the invite link in the main github page.
Is there a separate database I should be hosting elsewhere?
As is, it seems to work okay for at least a few hours, and whenever a new user tries to get verified, I just run my AHK script to reset the bot.

@DE0CH
Copy link

DE0CH commented Jan 18, 2022

In that case, I don't really know, but it seems to be a problem with the people who host the bot. As far as I can tell from the source code, you don't need to host a separate database.
If you want to go the extra mile, you can host the bot yourself. The code seems to work out of the box, but remember to use python 3.7. The newer versions don't seem to work for me.

@s-p-l-o-d-e
Copy link
Author

Yeah I'm not sure either, but thanks for the python 3.7 tip

@lawrenceadams
Copy link

Having this issue too, not self-hosting. 🤔

Repository owner deleted a comment from yexuanyang Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants