EmailBot icon indicating copy to clipboard operation
EmailBot copied to clipboard

why does the bot keep resetting itself?

Open s-p-l-o-d-e opened this issue 2 years ago • 7 comments

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?

s-p-l-o-d-e avatar Oct 21 '21 00:10 s-p-l-o-d-e

did you ever find a solution?

humaneBicycle avatar Dec 16 '21 21:12 humaneBicycle

No, I just wrote an autohotkey script that would input each command to reconfigure the bot But even that has to be done every few hours

if you figure out anythjng, that would be much appreciated

On Thu, Dec 16, 2021, 16:02 abhayasood1793 @.***> wrote:

did you ever find a solution?

— Reply to this email directly, view it on GitHub https://github.com/gg2001/EmailBot/issues/3#issuecomment-996191519, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWEYHVQTCTKKVGACG2UZRXTURJHYBANCNFSM5GM4PMQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

s-p-l-o-d-e avatar Dec 16 '21 21:12 s-p-l-o-d-e

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.

DE0CH avatar Jan 17 '22 16:01 DE0CH

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.

s-p-l-o-d-e avatar Jan 17 '22 16:01 s-p-l-o-d-e

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.

DE0CH avatar Jan 18 '22 10:01 DE0CH

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

s-p-l-o-d-e avatar Jan 18 '22 10:01 s-p-l-o-d-e

Having this issue too, not self-hosting. 🤔

lawrenceadams avatar Jan 30 '22 17:01 lawrenceadams