-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
78 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,9 @@ <h1 class="title">Module <code>server.exceptions</code></h1> | |
def message(self): | ||
return ( | ||
f"You are banned from FAF {self._ban_duration_text()}. <br>" | ||
f"Reason: <br>{self.ban_reason}" | ||
f"Reason: <br>{self.ban_reason}<br><br>" | ||
"<i>If you would like to appeal this ban, please send an email to: " | ||
"[email protected]</i>" | ||
) | ||
|
||
def _ban_duration_text(self): | ||
|
@@ -152,7 +154,9 @@ <h3>Ancestors</h3> | |
def message(self): | ||
return ( | ||
f"You are banned from FAF {self._ban_duration_text()}. <br>" | ||
f"Reason: <br>{self.ban_reason}" | ||
f"Reason: <br>{self.ban_reason}<br><br>" | ||
"<i>If you would like to appeal this ban, please send an email to: " | ||
"[email protected]</i>" | ||
) | ||
|
||
def _ban_duration_text(self): | ||
|
@@ -184,7 +188,9 @@ <h3>Methods</h3> | |
<pre><code class="python">def message(self): | ||
return ( | ||
f"You are banned from FAF {self._ban_duration_text()}. <br>" | ||
f"Reason: <br>{self.ban_reason}" | ||
f"Reason: <br>{self.ban_reason}<br><br>" | ||
"<i>If you would like to appeal this ban, please send an email to: " | ||
"[email protected]</i>" | ||
)</code></pre> | ||
</details> | ||
</dd> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters