diff --git a/commentpage.py b/commentpage.py
index 6cabf0d..c76ebc1 100644
--- a/commentpage.py
+++ b/commentpage.py
@@ -84,13 +84,15 @@ def commentpage(ficno,directory,local=False):
filewrite.write("anonymous")
elif comment["site"] == "lj":
if comment["registered"]:
- filewrite.write("" + comment["username"].replace("-","_")+ "")
+ filewrite.write("" + comment["username"].replace("-","_")+ "")
else:
filewrite.write("anonymous")
+ elif comment["site"] == "discord":
+ filewrite.write("" + comment["username"] + "")
elif comment["site"] == "ao3":
if comment["registered"]:
try:
- filewrite.write("" + comment["pseud"] + " (" + comment["username"] + ")")
+ filewrite.write("" + comment["pseud"] + " (" + comment["username"] + ")")
except:
filewrite.write("" + comment["username"] + "")
else:
diff --git a/originalsmeta/template.py b/originalsmeta/template.py
index 755cab2..0eeeb5b 100644
--- a/originalsmeta/template.py
+++ b/originalsmeta/template.py
@@ -1,6 +1,6 @@
import datetime
-title = ""
+title = "" # just the number is fine
showtitle = False
language = "en"
# translation =
@@ -24,7 +24,7 @@ location = [""]
# locationtext = ""
# summary = ""
# notes = ""
-# event = "" # challenge (including fests), ao3exchange, exchange, prompt
+# event = "" # challenge (including fests; anything without a specific prompt), ao3exchange, exchange, prompt
# eventlocation = "" # dwcomm, dwjournal, ljjournal
# eventname = ""
# eventdeets = "" # probably not needed unless it’s robotsoup
@@ -39,8 +39,8 @@ locked = False
html = True
pdf = True
epub = True
-# comments = [{"site":"", # ao3, dw, lj
-# "registered":, # True or False
+# comments = [{"site":"", # ao3, dw, lj, discord
+# "registered":, # True or False, not required for discord
# "username":"", # leave out if it’s a dw/lj anon
# "pseud":"", # optional, ao3 only
# "date":datetime.datetime(),