浏览代码

Add config

master
Noëlle 2 年前
父节点
当前提交
309e938167
找不到此签名对应的密钥
共有 1 个文件被更改,包括 38 次插入0 次删除
  1. 38
    0
      sample-config.cfg

+ 38
- 0
sample-config.cfg 查看文件

@@ -0,0 +1,38 @@
[DEFAULT]
# The bot's Mastodon domain. Not the full URL, just the domain name, e.g. elekk.xyz
domain = mastodon.example
# YOUR full username, including the domain but without the initial @.
# This is where error messages get sent.
# e.g. noelle@elekk.xyz
admin = admin@mastodon.example

# You can have multiple bots in the same config file. Have a [bracket] header
# for each of them.
[pingbot]
# The bot's class. Don't change this unless you know what you're doing.
class = pingbot.PingBot
# A secondary bot's domain, if it's different from the default domain.
# If you don't need this you should delete it.
domain =
# The admin's full username, if it's different from the default admin.
# If you don't need this you should delete it.
admin =
# Get client_id, client_secret, and access_token by going to
# Preferences > Development > New Application. You can choose your
# application name; leave "Application website" blank, and leave
# "Redirect URI" alone. You can leave the default permissions alone
# too, or you can change them if you know what you're doing; Pingbot
# needs to be able to READ your notifications and WRITE statuses.
# YOU CANNOT MONITOR AN ACCOUNT YOU DON'T CONTROL. THIS IS DELIBERATE
# AND WILL NOT BE CHANGED.
client_id =
client_secret =
access_token =
# The full name of the account you're monitoring, WITH the initial @.
# This is only for record-keeping and to make sure the bot doesn't
# reply to itself.
monitor = @contact@mastodon.example
# The full names of each account you want to notify when the monitored
# account gets a notification, separated by a comma (but no space!),
# WITH the initial @.
notify = @admin@mastodon.example,@moderator@mastodon.example

正在加载...
取消
保存