Skip to content

Commit

Permalink
feat(tags): add dragonite tag
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed May 31, 2024
1 parent 82e1755 commit b168b26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
5 changes: 5 additions & 0 deletions src/tags/tags.toml
Original file line number Diff line number Diff line change
Expand Up @@ -481,3 +481,8 @@ There really is a Sapphire bot, and these users are interacting with it, but it
You may instead be looking for https://discord.gg/EXqShySz8h
"""

[dragonite]
keywords = ["dragonite"]
content = "https://koutu.be/_Qe9O90cD80"

14 changes: 5 additions & 9 deletions tests/tagSearch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ describe('findSimilarTag', () => {
distance: 0.8366666666666667,
name: 'get-guildid-manually'
},
{ word: 'dragonite', distance: 0.6648148148148149, name: 'dragonite' },
{ word: 'firacode', distance: 0.6583333333333333, name: 'good-font' },
{
distance: 0.6102564102564102,
name: 'help',
word: 'built in help'
},
{
word: 'language codes',
distance: 0.6047619047619047,
name: 'i18n'
}
]);
});
Expand Down Expand Up @@ -62,14 +58,14 @@ describe('findSimilarTag', () => {
distance: 0.8888888888888888,
name: 'dotnetfirstjslater'
},
{ word: 'dragonite', distance: 0.7566666666666668, name: 'dragonite' },
{ word: 'tsnode', distance: 0.6944444444444443, name: 'ts-node' },
{ word: 'docs', distance: 0.6888888888888889, name: 'apidocs' },
{
word: 'decorators',
distance: 0.645,
name: 'experimental-decorators'
},
{ word: 'i18next', distance: 0.6428571428571429, name: 'i18n' }
}
]);
});

Expand All @@ -84,8 +80,8 @@ describe('findSimilarTag', () => {
distance: 0.5836910774410774,
name: 'transient-dependencies'
},
{ word: 'slashies', distance: 0.5745884773662552, name: 'slashies' },
{ word: 'eta', distance: 0.5679012345679012, name: 'eta' }
{ word: 'dragonite', distance: 0.5792181069958847, name: 'dragonite' },
{ word: 'slashies', distance: 0.5745884773662552, name: 'slashies' }
]);
});
});

0 comments on commit b168b26

Please sign in to comment.