Experimental Discord bot written in Python
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

config.py.sample 785B

123456789101112131415161718192021222324252627282930313233
  1. # Copy this file to config.py and fill in necessary values
  2. CONFIG = {
  3. '__config_version': 3,
  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. 'CrossPostCog': {
  16. 'enabled': False,
  17. 'warncount': 3,
  18. 'bancount': 9999,
  19. 'minlength': 1,
  20. 'timespan': 60,
  21. },
  22. 'JoinRaidCog': {
  23. 'enabled': False,
  24. 'warning_count': 5,
  25. 'warning_seconds': 5,
  26. },
  27. 'URLSpamCog': {
  28. 'enabled': False,
  29. 'joinage': 900, # Should be > 600 due to Discord-imposed waiting period
  30. 'action': 'nothing', # "nothing" | "modwarn" | "delete" | "kick" | "ban"
  31. },
  32. },
  33. }