Commit 613eeee9 authored by Dennis's avatar Dennis
Browse files

added channel_topic

parent 4a49ad04
...@@ -109,6 +109,7 @@ def get_meta_data(message: discord.Message): ...@@ -109,6 +109,7 @@ def get_meta_data(message: discord.Message):
"channel_id": str(message.channel.id), "channel_id": str(message.channel.id),
"backlink": DISCORD_LINK + str(message.guild.id) + "/" + str(message.channel.id) + "/" + str(message.id), "backlink": DISCORD_LINK + str(message.guild.id) + "/" + str(message.channel.id) + "/" + str(message.id),
"text": message.content, "text": message.content,
"channel_topic": message.channel.topic,
"reactions_history": [], "reactions_history": [],
"links": re.findall(URL_REGEX, message.content), "links": re.findall(URL_REGEX, message.content),
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment