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 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. notify = admin@mastodon.example,moderator@mastodon.example
  38. # If this is "True", Pingbot will forward the full message to each
  39. # account above; if it's anything else, Pingbot will just send a link to
  40. # the original message.
  41. full_message = True