mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
ugh
This commit is contained in:
1 parent
81669296dc
commit
0de762eb03
2 files changed
+2
-3
No files matched your search
+1
-2
@@ -142,8 +142,7 @@ export async function run(msg, data) {
|
|||||||
.setDescription([
|
.setDescription([
|
||||||
`Support this ${label.toLowerCase()} by voting on FluxerList!`,
|
`Support this ${label.toLowerCase()} by voting on FluxerList!`,
|
||||||
``,
|
``,
|
||||||
`**[Vote Now](${voteUrl})**`,
|
`**[Vote & View Profile](${voteUrl})**`,
|
||||||
`**[View Profile](${profileUrl})**`,
|
|
||||||
``,
|
``,
|
||||||
`Your votes help this ${label.toLowerCase()} grow and reach more users.`,
|
`Your votes help this ${label.toLowerCase()} grow and reach more users.`,
|
||||||
].join("\n"));
|
].join("\n"));
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export function buildFluxerListUrl(endpoint, resourceId, queryParams = {}) {
|
|||||||
*/
|
*/
|
||||||
export function buildVoteLink(type, resourceId) {
|
export function buildVoteLink(type, resourceId) {
|
||||||
const path = type === "server" ? "servers" : "bots";
|
const path = type === "server" ? "servers" : "bots";
|
||||||
return `${FLUXERLIST.SITE_URL}/${path}/${resourceId}/vote`;
|
return `${FLUXERLIST.SITE_URL}/${path}/${resourceId}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user