Skip to content

Commit

Permalink
refactor: remove catfact (#2447)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranet authored Apr 9, 2023
1 parent 8de2490 commit 574a9bc
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 47 deletions.
31 changes: 0 additions & 31 deletions src/commands/Animal/catfact.ts

This file was deleted.

1 change: 1 addition & 0 deletions src/commands/General/v7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const row = makeRow(ButtonSkyraV7);
'bd',
'birthday',
'birthdays',
'catfact',
'chucknorris',
'country',
'ctime',
Expand Down
7 changes: 1 addition & 6 deletions src/languages/en-US/commands/animal.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
"title": "Click here if the image fails to load",
"source": "source"
},
"catfactDescription": "Let me tell you a mysterious cat fact.",
"catfactExtended": {
"extendedHelp": "You know cats are very curious, right? They certainly have a lot of fun and weird facts.\nWith this command you will get a random fact."
},
"catfactTitle": "Cat Fact",
"dogDescription": "Cute doggos! ❤",
"dogExtended": {
"extendedHelp": "Do **you** know how cute dogs are? They are so beautiful!\nThis command uses [dog.ceo](https://dog.ceo) to show pictures of the cuttest doggos!"
Expand All @@ -28,4 +23,4 @@
"shibeExtended": {
"extendedHelp": "Everyone loves shibas, I shall love them aswell! They're so adorable ❤"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@
"subCategory": "General"
}
],
[
"catfact",
{
"category": "Animal",
"subCategory": "General"
}
],
[
"dog",
{
Expand Down
3 changes: 0 additions & 3 deletions src/lib/i18n/languageKeys/keys/commands/Animal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import { T } from '#lib/types';
export const BunnyDescription = T('commands/animal:bunnyDescription');
export const BunnyExtended = T<LanguageHelpDisplayOptions>('commands/animal:bunnyExtended');
export const BunnyEmbedData = T<{ title: string; source: string }>('commands/animal:bunnyEmbedData');
export const CatfactDescription = T('commands/animal:catfactDescription');
export const CatfactExtended = T<LanguageHelpDisplayOptions>('commands/animal:catfactExtended');
export const CatfactTitle = T('commands/animal:catfactTitle');
export const DogDescription = T('commands/animal:dogDescription');
export const DogExtended = T<LanguageHelpDisplayOptions>('commands/animal:dogExtended');
export const FoxDescription = T('commands/animal:foxDescription');
Expand Down

0 comments on commit 574a9bc

Please sign in to comment.