Added config for public channel
parent
639f29e146
commit
8816876e54
|
@ -8,6 +8,7 @@ token:
|
||||||
|
|
||||||
#Channel IDs
|
#Channel IDs
|
||||||
bot_channel_id:
|
bot_channel_id:
|
||||||
|
public_channel_id:
|
||||||
|
|
||||||
#User and Group IDs
|
#User and Group IDs
|
||||||
owner_id:
|
owner_id:
|
||||||
|
|
|
@ -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"))
|
||||||
|
public_channel_id = discord.Object(id=config.get("configuration", "public_channel_id"))
|
||||||
owner_id = discord.User(id=config.get("configuration", "owner_id"))
|
owner_id = discord.User(id=config.get("configuration", "owner_id"))
|
||||||
|
|
||||||
#Reddit Setup
|
#Reddit Setup
|
||||||
|
|
Loading…
Reference in New Issue