View Single Post
Dr.Doctor
AlliedModders Donor
Join Date: Feb 2017
Location: Hong Kong
Old 03-07-2020 , 21:42   Re: Discord Game Server Monitor - Live server status on Discord v1.3.0
Reply With Quote #13

Quote:
Originally Posted by DARG367 View Post
As for the bot token, I'm grabbing it from the actual bot tab in the application as shown in the picture.
https://imgur.com/a/VRx7Kn5

And the dyno worker is on as I went to go configure it turned it on and saved changes. Shown below.
https://imgur.com/a/QKrs4dA

I also uploaded the servers.json file to the channel I want the bot to display the servers which is a test channel which the bot has access to. I also copied the link not the ID of the post. The .json file because it has nothing not already public I will show below. https://cdn.discordapp.com/attachmen...1/servers.json
PHP Code:
[
    {
        
"type""SourceQuery",
        
"game""Left 4 Dead 2",
        
"addr""160.202.167.15",
        
"port"27015,
        
"channel"656928917453668352,
        
"image_url""https://github.com/DiscordGSM/DiscordGSM/blob/master/images/discordgsm.png?raw=true"
    
},
    {
        
"type""SourceQuery",
        
"game""Left 4 Dead 2",
        
"addr""189.1.173.122",
        
"port"27035,
        
"channel"656928917453668352
    
},
    {
        
"type""SourceQuery",
        
"game""Left 4 Dead 2",
        
"addr""177.54.157.71",
        
"port"27045,
        
"channel"656928917453668352
    
},
    {
        
"type""SourceQuery",
        
"game""Left 4 Dead 2",
        
"addr""103.195.102.218",
        
"port"27035,
        
"channel"656928917453668352
    
}

Still, the bot is offline. Even after restarting all dynos. I'm pretty sure I am following everything correctly. Although I can't seem to find the "SETTINGS_JSON_URL" config if there even is one?
Thanks for the report details. I recently figured out when the env `SETTINGS_JSON_URL`is blank will cause the error on bot startup.

Please remove `SETTINGS_JSON_URL` to fix the issue.

It is under Settings -> Config Vars => Reveal Config Vars and remove it thanks.
__________________
Dr.Doctor is offline