Skip to content

Commit 37e716d

Browse files
committed
fix(mod-webhook): remove colon
1 parent 9afed95 commit 37e716d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/events/mod_created.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl DiscordWebhook for NewModAcceptedEvent {
2828
fn to_discord_webhook(&self) -> DiscordMessage {
2929
DiscordMessage::new().embed(
3030
&format!("🎉 New mod: {} {}", self.name, self.version),
31-
Some(&format!("https://geode-sdk.org/mods/{}\n\nOwned by: [{}](https://github.com/{})\nAccepted by: [{}](https://github.com/{})",
31+
Some(&format!("https://geode-sdk.org/mods/{}\n\nOwned by [{}](https://github.com/{})\nAccepted by [{}](https://github.com/{})",
3232
self.id, self.owner.display_name, self.owner.username, self.verified_by.display_name, self.verified_by.username)),
3333
Some(&format!("{}/v1/mods/{}/logo", self.base_url, self.id)),
3434
)
@@ -40,15 +40,15 @@ impl DiscordWebhook for NewModVersionAcceptedEvent {
4040
let accepted_msg = match &self.verified {
4141
NewModVersionVerification::VerifiedDev => String::from("Developer is verified"),
4242
NewModVersionVerification::Admin(admin) => format!(
43-
"Verified by [{}](https://github.com/{})",
43+
"Accepted by [{}](https://github.com/{})",
4444
admin.display_name, admin.username
4545
),
4646
};
4747

4848
DiscordMessage::new().embed(
4949
&format!("🎉 Updated {} to {}", self.name, self.version),
5050
Some(&format!(
51-
"https://geode-sdk.org/mods/{}\n\nOwned by: [{}](https://github.com/{})\n{}",
51+
"https://geode-sdk.org/mods/{}\n\nOwned by [{}](https://github.com/{})\n{}",
5252
self.id, self.owner.display_name, self.owner.username, accepted_msg
5353
)),
5454
Some(&format!("{}/v1/mods/{}/logo", self.base_url, self.id)),

0 commit comments

Comments
 (0)