ticketfrei/config.toml.example

49 lines
1.9 KiB
Plaintext
Raw Normal View History

2017-06-17 18:27:53 +00:00
[mapp]
# The bot registers a mastodon app automatically to acquire OAuth keys.
name = 'yourcity_ticketfrei' # What you want the app to be called
2017-06-17 16:15:13 +00:00
2017-06-17 18:27:53 +00:00
[muser]
enabled = 'false' # set to true if you want to use Mastodon
2017-11-28 14:11:09 +00:00
email = 'youremail@server.tld' # E-mail address of your Mastodon account
password = 'yourpassword' # Password of your Mastodon account
server = 'yourmastodoninstance' # Instance where you have your Mastodon account
2017-06-17 22:35:34 +00:00
[tapp]
# You get those keys when you follow these steps:
# https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens
2018-01-07 17:48:35 +00:00
consumer_key = "your_consumer_key"
consumer_secret = "your_consumer_secret"
[tuser]
enabled = 'false' # set to true if you want to use Twitter
# You get those keys when you follow these steps:
# https://developer.twitter.com/en/docs/basics/authentication/guides/access-tokens
2018-01-07 17:48:35 +00:00
access_token_key = "your_access_token_key"
access_token_secret = "your_acces_token_secret"
2017-06-25 16:11:20 +00:00
2018-01-01 10:23:50 +00:00
[mail]
enabled = 'false' # set to true if you want to use Mail notifications
# This is the mail the bot uses to send emails.
2018-01-01 10:23:50 +00:00
mailserver = "smtp.riseup.net"
user = "ticketfrei"
passphrase = "sup3rs3cur3"
# If you want to receive crash reports (so you can restart the bot
# when it breaks down), you should specify a contact email address:
#contact = "your_mail@riseup.net"
# Mailing list where you want to send warnings to
list = "yourcity_ticketfrei@lists.links-tech.org"
2018-01-01 10:23:50 +00:00
[logging]
2018-01-05 09:43:38 +00:00
# The directory where logs should be stored.
logpath = "logs/ticketfrei.log"
2018-01-01 10:23:50 +00:00
2017-06-25 17:31:40 +00:00
# [trigger]
2017-06-25 19:12:26 +00:00
# goodlists are one regex per line.
# badlists are one badword per line.
# a message musst match at least one regex in goodlist and contain none of the badwords.
# the variables mention the directory where the lists are located, not the filenames.
# These are the default folders. If you want to specify differents folders, uncomment
# those lines and enter relative paths.
#goodlist_path = 'goodlists'
#blacklist_path = 'blacklists'