mirror of
https://github.com/sussy-code/providers.git
synced 2026-03-11 17:55:37 +00:00
lint gods are unhappy
This commit is contained in:
parent
bba6699de3
commit
42385bb217
1 changed files with 4 additions and 1 deletions
|
|
@ -31,7 +31,10 @@ const providers = [
|
|||
function embed(provider: { id: string; rank: number; disabled?: boolean }) {
|
||||
return makeEmbed({
|
||||
id: provider.id,
|
||||
name: provider.id.split('-').map(word => word[0].toUpperCase() + word.slice(1)).join(' '),
|
||||
name: provider.id
|
||||
.split('-')
|
||||
.map((word) => word[0].toUpperCase() + word.slice(1))
|
||||
.join(' '),
|
||||
disabled: provider.disabled,
|
||||
rank: provider.rank,
|
||||
async scrape(ctx) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue