changes to default ban template
This commit is contained in:
@@ -35,9 +35,9 @@ def get_flair(flair: str) -> Flair:
|
||||
def modmail_removal_notification(submission: Row, method: str) -> str:
|
||||
try:
|
||||
from config import config as bot_config
|
||||
ban_template = bot_config.get("ban_template", "[Deleted post](https://reddit.com/comments/{post_id}).\n\nDeleting an answered post, without marking it solved, is against our rules.\n\nYou can read [our rules](https://reddit.com/r/MinecraftHelp/wiki/rules) to see if you're eligible to appeal this ban.")
|
||||
ban_template = bot_config.get("ban_template", "Your custom ban message is not configured. Please contact the moderators for more information.")
|
||||
except Exception:
|
||||
ban_template = "[Deleted post](https://reddit.com/comments/{post_id}).\n\nDeleting an answered post, without marking it solved, is against our rules.\n\nYou can read [our rules](https://reddit.com/r/MinecraftHelp/wiki/rules) to see if you're eligible to appeal this ban."
|
||||
ban_template = "Your custom ban message is not configured. Please contact the moderators for more information."
|
||||
|
||||
ban_text = ban_template.format(post_id=submission.post_id)
|
||||
return f"""A post has been removed
|
||||
|
||||
Reference in New Issue
Block a user