24 lines
886 B
Python
24 lines
886 B
Python
from GeoffreyBot import bot
|
|
|
|
# Set discord_token to the token for the Discord bot
|
|
discord_token = ""
|
|
|
|
# Set geoffrey_api_url to the base api url of the GeoffreyApp
|
|
# Example:
|
|
# https://test.zerohighdef.com/GeoffreyApp/api/
|
|
geoffrey_api_url = "https://test.zerohighdef.com/GeoffreyApp/api/"
|
|
|
|
# Set geoffrey_base_url to the base link of the url
|
|
# Example:
|
|
# If Geoffrey runs at https://test.zerohighdef.com/GeoffreyApp/home
|
|
# geoffrey_app_url would be https://test.zerohighdef.com/
|
|
geoffrey_base_url = "https://test.zerohighdef.com"
|
|
|
|
# Set geoffrey_token to the token generated by the GeoffreyApp
|
|
geoffrey_token = ""
|
|
|
|
if __name__ == '__main__':
|
|
print("Starting bot and connecting to {}".format(geoffrey_api_url))
|
|
bot.start_bot(discord_token=discord_token, geoffrey_api_url=geoffrey_api_url, geoffrey_api_token=geoffrey_token,
|
|
geoffrey_app_url=geoffrey_base_url)
|