Updated bot setup docs

doc_update
Joey Hines 2019-09-27 16:15:43 -05:00
parent 2c1c5d214f
commit 743c64fd17
1 changed files with 15 additions and 6 deletions

View File

@ -37,15 +37,24 @@ example.
# Set discord_token to the token for the Discord bot # Set discord_token to the token for the Discord bot
discord_token = "" 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: # Example:
# If the Geoffrey Command API was at https://test.zerohighdef.com/GeoffreyApp/api/ # https://test.zerohighdef.com/test/GeoffreyApp/api/
# The base link would be https://test.zerohighdef.com geoffrey_api_url = ""
geoffrey_base_link = ""
# 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 # Set geoffrey_token to the token generated by the GeoffreyApp
geoffrey_token = "" geoffrey_token = ""
if name == 'main': if __name__ == '__main__':
print("Starting bot and connecting to {}".format(geoffrey_base_link)) 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)