diff --git a/example_config.cfg b/example_config.cfg index 7bf5d4b..5977be0 100644 --- a/example_config.cfg +++ b/example_config.cfg @@ -9,6 +9,9 @@ token: #Channel IDs bot_channel_id: +#User and Group IDs +owner_id: + #Reddit Stuff reddit_client_id: reddit_client_secret: \ No newline at end of file diff --git a/pocketbot.py b/pocketbot.py index 710c15a..dee0112 100644 --- a/pocketbot.py +++ b/pocketbot.py @@ -13,6 +13,7 @@ config.read("/srv/discord-pocketbot/config.cfg") token = config.get("configuration", "token") 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_client_id = config.get("configuration", "reddit_client_id")