Joey Hines 93fba48b15 | ||
---|---|---|
GeoffreyBot | ||
.gitignore | ||
LICENSE | ||
README | ||
README.md | ||
setup.py |
README.md
Geoffrey-DiscordBot
The Geoffrey Discord Bot is designed to work with the Goeffrey Command API, implementing all its commands for discord
Getting Started
- Setup Geoffrey
- Clone this repo
- Go to the directory you cloned the repo into and run
pip install .
- Now that the bot is installed as a package, you can create a startup script to run it. Bellow is an example:
from GeoffreyBot import bot
# Discord token for the bot to use
discord_token = ""
# Base link to the Geoffrey API
geoffrey_api_link = ""
# Geoffrey API token
geoffrey_token = ""
# Start Bot
if __name__ == '__main__':
print("Starting bot and connecting to {}".format(geoffrey_api_link))
bot.start_bot(discord_token=discord_token,
geoffrey_base_url=geoffrey_api_link,
geoffrey_api_token=geoffrey_token)