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

docs: add music-bot to showcase #1872

Merged
merged 3 commits into from
Nov 16, 2023
Merged
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
32 changes: 22 additions & 10 deletions apps/website/src/data/showcase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,27 @@ interface IShowcase {
}[];
}

const PromotedList: IShowcase = {
bots: [
{
name: 'Music Bot',
description: 'A complete music bot example covering topics like custom playlists, persistent config, custom extractor, redis cache, web interface and more.',
version: '(Promoted)',
url: 'https://github.com/twlite/music-bot'
},
{
name: 'Cadence',
description: 'A free music and audio bot for Discord. No locked functionality, free forever. Open source!',
version: 'v6.6.4',
url: 'https://github.com/mariusbegby/cadence-discord-bot'
}
],
extractors: []
};

// you don't need to care about sorting by version, just add your project here
export const ShowcaseResource: IShowcase = {
bots: [
bots: PromotedList.bots.concat([
{
name: 'Mirasaki Music Bot',
description: 'Complete (45+ commands) music bot with persistent settings, effects, filters, auto-play, DJ-roles, and much more.',
Expand Down Expand Up @@ -138,12 +156,6 @@ export const ShowcaseResource: IShowcase = {
version: 'v4.1.0',
url: 'https://github.com/Androz2091/AtlantaBot'
},
{
name: 'Cadence',
description: 'A free music and audio bot for Discord. No locked functionality, free forever. Open source!',
version: 'v6.6.4',
url: 'https://github.com/mariusbegby/cadence-discord-bot'
},
{
name: 'Elite Music',
description: 'An open-source & feature-packed Discord music bot, complete with a large selection of commands, effects, customisability, Docker & Plex support and much more! 🚀💪',
Expand All @@ -157,8 +169,8 @@ export const ShowcaseResource: IShowcase = {
version: 'v6.6.3',
url: 'https://github.com/ToothlessBrush/AstroMonkey'
}
].sort((a, b) => semver.rcompare(a.version, b.version)),
extractors: [
].sort((a, b) => semver.rcompare(a.version, b.version))),
extractors: PromotedList.extractors.concat([
{
name: 'discord-player-deezer',
description: 'An unofficial extractor for discord-player to add support for deezer source.',
Expand All @@ -169,5 +181,5 @@ export const ShowcaseResource: IShowcase = {
description: 'Unofficial discord-player extractor for Yandex Music.',
url: 'https://npm.im/discord-player-yandexmusic'
}
]
])
};
Loading