Experimental Discord bot written in Python
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.

config.py.sample 782B

12345678910111213141516171819202122232425262728293031
  1. # Copy this file to config.py and fill in necessary values
  2. CONFIG = {
  3. '__config_version': 2,
  4. 'client_token': 'token',
  5. 'command_prefix': '$rb_',
  6. 'kick_emoji': '👢',
  7. 'ban_emoji': '🚫',
  8. 'trash_emoji': '🗑',
  9. 'success_emoji': '✅',
  10. 'failure_emoji': '❌',
  11. 'warning_emoji': '⚠️',
  12. 'info_emoji': 'ℹ️',
  13. 'config_path': 'config/',
  14. 'cog_defaults': {
  15. 'JoinRaidCog': {
  16. 'enabled': False,
  17. 'warning_count': 5,
  18. 'warning_seconds': 5,
  19. },
  20. 'CrossPostCog': {
  21. 'warn_message_count': 3,
  22. 'ban_message_count': 9999,
  23. 'time_window_seconds': 120,
  24. 'min_message_length': 0,
  25. },
  26. 'URLSpamCog': {
  27. 'joinage': 900, # Should be > 600 due to Discord-imposed waiting period
  28. 'action': 'nothing', # "nothing" | "modwarn" | "delete" | "kick" | "ban"
  29. },
  30. },
  31. }