Added config for owner user (aka me)

dev
pocketjawa 2017-03-01 19:18:02 -05:00
parent db237e9f88
commit 87c49ef71e
2 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,9 @@ token:
#Channel IDs #Channel IDs
bot_channel_id: bot_channel_id:
#User and Group IDs
owner_id:
#Reddit Stuff #Reddit Stuff
reddit_client_id: reddit_client_id:
reddit_client_secret: reddit_client_secret:

View File

@ -13,6 +13,7 @@ config.read("/srv/discord-pocketbot/config.cfg")
token = config.get("configuration", "token") token = config.get("configuration", "token")
bot_channel_id = discord.Object(id=config.get("configuration", "bot_channel_id")) bot_channel_id = discord.Object(id=config.get("configuration", "bot_channel_id"))
owner_id = discord.User(id=config.get("configuration", "owner_id"))
#Reddit Setup #Reddit Setup
reddit_client_id = config.get("configuration", "reddit_client_id") reddit_client_id = config.get("configuration", "reddit_client_id")