Skip to content

Commit b30e0d7

Browse files
committed
Quick bugfix on config help and debug hastebin
1 parent 4e54fd4 commit b30e0d7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cogs/utility.py

-1
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ async def debug_hastebin(self, ctx):
444444
with open(
445445
os.path.join(os.path.dirname(os.path.abspath(__file__)), f"../temp/{log_file_name}.log"),
446446
"rb+",
447-
encoding="utf-8",
448447
) as f:
449448
logs = BytesIO(f.read().strip())
450449

core/config_help.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@
434434
]
435435
},
436436
"thread_creation_contact_response": {
437-
"default": "\"{creator.name} has opened a Modmail thread.\"",
437+
"default": "\"{{creator.name}} has opened a Modmail thread.\"",
438438
"description": "This is the message embed description sent to recipients when contacted by a mod.",
439439
"examples": [
440440
"`{prefix}config set thread_creation_contact_response New thread opened.`"

0 commit comments

Comments
 (0)