A Mastodon bot for pinging
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sample-config.cfg 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [DEFAULT]
  2. # The bot's Mastodon domain. Not the full URL, just the domain name, e.g. elekk.xyz
  3. domain = mastodon.example
  4. # YOUR full username, including the domain but without the initial @.
  5. # This is where error messages get sent.
  6. # e.g. noelle@elekk.xyz
  7. admin = admin@mastodon.example
  8. # You can have multiple bots in the same config file. Have a [bracket] header
  9. # for each of them.
  10. [pingbot]
  11. # The bot's class. Don't change this unless you know what you're doing.
  12. class = pingbot.PingBot
  13. # A secondary bot's domain, if it's different from the default domain.
  14. # If you don't need this you should delete it.
  15. domain =
  16. # The admin's full username, if it's different from the default admin.
  17. # If you don't need this you should delete it.
  18. admin =
  19. # Get client_id, client_secret, and access_token by going to
  20. # Preferences > Development > New Application. You can choose your
  21. # application name; leave "Application website" blank, and leave
  22. # "Redirect URI" alone. You can leave the default permissions alone
  23. # too, or you can change them if you know what you're doing; Pingbot
  24. # needs to be able to READ your notifications and WRITE statuses.
  25. # YOU CANNOT MONITOR AN ACCOUNT YOU DON'T CONTROL. THIS IS DELIBERATE
  26. # AND WILL NOT BE CHANGED.
  27. client_id =
  28. client_secret =
  29. access_token =
  30. # The full name of the account you're monitoring, without the initial @.
  31. # This is only for record-keeping and to make sure the bot doesn't
  32. # reply to itself.
  33. monitor = contact@mastodon.example
  34. # The full names of each account you want to notify when the monitored
  35. # account gets a notification, separated by a comma (but no space!),
  36. # without the initial @.
  37. # Pingbot does not verify that you have permission to send messages to
  38. # these accounts, so please use this cautiously.
  39. notify = admin@mastodon.example,moderator@mastodon.example
  40. # If this is "True", Pingbot will forward the full message to each
  41. # account above; if it's anything else, Pingbot will just send a link to
  42. # the original message.
  43. full_message = True