Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: top.gg vote url and typo #20

Merged
merged 2 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl fmt::Display for VoteList {
impl VoteList {
pub fn vote_url(&self) -> &'static str {
match self {
Self::TopGg => "https://top.gg/bot/699453633624064849/vote",
Self::TopGg => "https://top.gg/bot/811652199100317726/vote",
Self::DiscordServicesNet => "https://discordservices.net/bot/scripty",
Self::WumpusStore => "https://wumpus.store/bot/811652199100317726/vote",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub async fn discordservices_net_incoming_webhook(
.title("Thanks for voting for Scripty on discordservices.net!")
.description(
"You can vote again in 20 hours. We'll send you a reminder then. If you \
don't want to be notified, run `/vote_reminders False`. Thanks for your \
don't want to be notified, run `/vote_reminders: False`. Thanks for your \
support!",
),
),
Expand Down
2 changes: 1 addition & 1 deletion scripty_webserver/src/endpoints/webhooks/top_gg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub async fn top_gg_incoming_webhook(
.title("Thanks for voting for Scripty on top.gg!")
.description(
"You can vote again in 12 hours. We'll send you a reminder then. If you \
don't want to be notified, run `/vote_reminders False`. Thanks for your \
don't want to be notified, run `/vote_reminders: False`. Thanks for your \
support!",
)
.footer(CreateEmbedFooter::new(if kind.is_test() {
Expand Down
2 changes: 1 addition & 1 deletion scripty_webserver/src/endpoints/webhooks/wumpus_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub async fn wumpus_store_incoming_webhook(
.title("Thanks for voting for Scripty on wumpus.store!")
.description(
"You can vote again in 12 hours. We'll send you a reminder then. If you \
don't want to be notified, run `/vote_reminders False`. Thanks for your \
don't want to be notified, run `/vote_reminders: False`. Thanks for your \
support!",
)
.footer(CreateEmbedFooter::new(if webhook_test {
Expand Down
Loading