Files
PointsBot/pointsbot.sample.toml

78 lines
2.2 KiB
TOML
Raw Normal View History

2020-02-03 18:53:23 -08:00
################################################################################
# Core
#
# These are the primary fields needed to run the bot.
################################################################################
[core]
# The name of the subreddit to monitor, without the "r/" prefix.
subreddit = ""
################################################################################
# Filepaths
#
# Any filepaths needed by the bot. Can be relative or absolute paths, or just
# filenames.
################################################################################
[filepaths]
2020-02-04 23:21:53 -08:00
# The name of the SQLite database file to use. This value is optional; if not
# specified, a default filepath will be used.
database = ""
2020-02-03 18:53:23 -08:00
################################################################################
# Reddit Credentials
#
# See the bot documentation for more information about these fields.
# Some of these fields are sensitive, so once these fields are provided, take
# care not to upload or distribute this file through unsecure channels, or to
# public sites.
################################################################################
[credentials]
2020-02-04 14:18:46 -08:00
client_id = "REDACTED"
client_secret = "REDACTED"
username = "REDACTED"
password = "REDACTED"
2020-02-03 18:53:23 -08:00
################################################################################
# User Levels
#
# These items represent the levels that contributors to the subreddit can
# attain. To add a level, add another section with the format:
#
# [[levels]]
# name = "<string>"
# points = <integer>
# flair_template_id = "<string>"
#
# These fields are case-sensitive, so enter the level name exactly as you want
# it to appear.
#
# The flair_template_id field is optional, so it may be omitted or left as the
# empty string, "".
2020-02-04 14:18:46 -08:00
#
# Furthermore, the order of these levels does not matter: they will be sorted by
# point values when the bot is run. However, it may be preferable to order them
# by point values for readability.
2020-02-03 18:53:23 -08:00
################################################################################
[[levels]]
name = "Level One"
points = 1
flair_template_id = ""
[[levels]]
name = "Level Two"
points = 25
flair_template_id = ""
[[levels]]
name = "Level Three"
points = 100
flair_template_id = ""