Added config for owner user (aka me)
parent
db237e9f88
commit
87c49ef71e
|
@ -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:
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue