diff --git a/GeoffreyApp/docs/source/bot_setup.rst b/GeoffreyApp/docs/source/bot_setup.rst index c8b2203..d4a8582 100644 --- a/GeoffreyApp/docs/source/bot_setup.rst +++ b/GeoffreyApp/docs/source/bot_setup.rst @@ -37,15 +37,24 @@ example. # Set discord_token to the token for the Discord bot discord_token = "" - # Set geoffrey_api_link to the base url of the GeoffreyApp + # Set geoffrey_api_url to the base api url of the GeoffreyApp # Example: - # If the Geoffrey Command API was at https://test.zerohighdef.com/GeoffreyApp/api/ - # The base link would be https://test.zerohighdef.com - geoffrey_base_link = "" + # https://test.zerohighdef.com/test/GeoffreyApp/api/ + geoffrey_api_url = "" + + # Set geoffrey_app_url to the base link of the url + # Example: + # If Geoffrey runs at https://24carrotcraft.com/whitelist/geoffrey/home/ + # geoffrey_app_url would be https://24carrotcraft.com + geoffrey_app_url = "" # Set geoffrey_token to the token generated by the GeoffreyApp geoffrey_token = "" - if name == 'main': + if __name__ == '__main__': print("Starting bot and connecting to {}".format(geoffrey_base_link)) - bot.start_bot(discord_token=discord_token, geoffrey_base_url=geoffrey_base_link, geoffrey_api_token=geoffrey_token) + bot.start_bot(discord_token=discord_token, + geoffrey_api_url=geoffrey_api_url, + geoffrey_api_token=geoffrey_token, + geoffrey_app_url=geoffrey_app_url) +