-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py.template
41 lines (31 loc) · 1.06 KB
/
config.py.template
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
29
30
31
32
33
34
35
36
37
38
39
40
41
client_id=''
client_secret=''
username=''
password=''
debug_mode = False
allow_playlists = True
allow_bumps = False
# Anti-spam measures
min_bump_interval=60 * 60 * 24 * 7
post_limit_interval=60 * 60 * 24
post_limit=3
# Bot files
stats_database='scgb-stats.db'
token_cache='token-cache.json.secret'
banlistfile='banlist.txt'
# See genres.txt for available soundcloud default genres, if 'allowed_genres = None' then all genres are allowed
allowed_genres = None
# WARNING IF YOU POST MORE THAN ONE TRACK:
# posting a new original track will increase every other track's id by one.
# So you need to increase post_track_id by 1 after posting a new original track from the group's account.
post_track_id=0
# 1 = replace the whole description, 2 = put 'description_template' after 'stats_keyword'
use_advanced_description = 2
keyword_tag='$'
stats_keyword='Stats:'
description_template = '''
Last update: $last_update$ (UTC)
This group is using scgb v$bot_version$.
$user_count$ users have made $post_count$ posts ($track_count$ tracks and $playlist_count$ playlists)
'''
#EOF