Reformat and set the net and channel for 4chan
This commit is contained in:
@@ -35,7 +35,7 @@ class DiscordClient(discord.Client):
|
||||
return
|
||||
|
||||
a = self.recurse_dict(message)
|
||||
#a["ts"] = a["time"].isoformat()
|
||||
# a["ts"] = a["time"].isoformat()
|
||||
a["ts"] = int(a["time"].timestamp())
|
||||
del a["time"]
|
||||
a["type"] = "msg"
|
||||
|
||||
Reference in New Issue
Block a user