forked from AndrewPaglusch/PlexBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.rb-example
28 lines (23 loc) · 1.19 KB
/
settings.rb-example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@token = "<telegram_bot_token>" #contact @BotFather in Telegram to get this
@authorized_chatids = [ "-9876543", "-1234567" ] #Authorized Telegram Chat IDs
@admin_userids = [ "1234567" ] #Authorized Telegram UIDs that can run '/a' admin commands
#Couchpotato Stuff
@movie_url = "http://<ip_address_or_hostname_of_couchpotato>"
@movie_context = "" #if CP is at 1.2.3.4/couchpotato/ or some other context
@movie_port = "<couchpotato_port>"
@movie_api_key = "<couchpotato_api_key>"
@movie_profile_id = "<couchpotato_quality_profile_id>"
@movie_timeout = 10
#Sonarr Stuff
@show_url = "http://<ip_address_or_hostname_of_sonarr>"
@show_port = <sonarr_port> #port Sonarr is listening on
@show_context = "" #if Sonarr is at 1.2.3.4/sonarr/ or some other context
@show_api_key = "<sonarr_api_key>"
@show_profile_id = "<sonarr_quality_profile_id>"
@show_timeout = 10
@season_admin_cutoff = 10 #More than x season shows need to be downloaded by admin
#Customizations
@allowed_sources = ["private","group","supergroup"] #where your bot can be used. best to leave this alone
@bot_username = "<telegram_bot_username>"
@admin_name = "<first_name_of_telegram_group_admin"
@admin_username = "<username_of_telegram_group_admin>"