You've already forked AstralRinth
forked from didirus/AstralRinth
Add mod lists for modpacks, liteloader support, update actix, fix moderation webhook (#357)
This commit is contained in:
@@ -56,12 +56,15 @@ pub async fn send_discord_webhook(
|
||||
value: project.server_side.to_string(),
|
||||
inline: true,
|
||||
},
|
||||
DiscordEmbedField {
|
||||
];
|
||||
|
||||
if !project.categories.is_empty() {
|
||||
fields.push(DiscordEmbedField {
|
||||
name: "categories",
|
||||
value: project.categories.join(", "),
|
||||
inline: true,
|
||||
},
|
||||
];
|
||||
});
|
||||
}
|
||||
|
||||
if let Some(ref slug) = project.slug {
|
||||
fields.push(DiscordEmbedField {
|
||||
|
||||
Reference in New Issue
Block a user