Closed rjclarkewp007 closed 4 years ago
Just as a side note here - I left the bot running throughout the night and this morning all the names are gone again :(
I also found now that actually all settings like !Config JoinMessage and !config JoinMessageChannel also gets reset after a restart or overnight. Am i missing something here?
Please can you guys be a bit more helpful when it comes to the self hosting of this bot? A more detailed guide of what needs to be entered where in the config would help as well. Why are there 2 databases that is setup, but it seems only one is used?
At the moment my config file looks like this: { "devToken": "MyBotTokenEnteredHere", "sentryDsn": "", "bot": { "type": "regular", "ids": { "regular": "", "pro": "" }, "links": { "add": "https://invitemanager.co/add-bot/", "support": "https://discord.gg/Am6p2Hs", "website": "https://andreasgassmann.github.io/discord-invite-manager/", "patreon": "https://www.patreon.com/invitemanager" }, "dm": { "guild": "", "channel": "" }, "apiAuth": { "username": "", "password": "" }, "dblToken": null, "music": { "pollyUrl": "" } }, "rabbitmq": { "hostname": "localhost", "username": "guest", "password": "guest", "prefix": "" }, "databases": [ { "host": "localhost", "port": 3306, "user": "root", "password": "MySecurePasswordIsHere", "range": { "from": 0, "to": 0 } }, { "host": "localhost", "port": 3306, "user": "root", "password": "MySecurePasswordIsHere", "range": { "from": 1, "to": 1 } } ] }
Problem was resolved. :)
I created a new invite using: !createinvite Discord #welcome
Then i run !invitedetails and it will show: 1 from Discord (N55Ncxa) - created 2 hours ago
BUT then i restarted the bot and now when i run !invitedetails it does not show the name anymore: 1 from N55Ncxa - created 3 hours ago
I can see the name in the database so why is the bot not picking this up after a restart?![image](https://user-images.githubusercontent.com/13123792/80511163-06b9a080-897c-11ea-89b6-2ffdd037db41.png)
Any help will be greatly appreciated!