diff --git a/.gitignore b/.gitignore index cc21948..ab943bd 100644 --- a/.gitignore +++ b/.gitignore @@ -116,4 +116,5 @@ prisma/generated prisma/db/*.db* # Generated "NFD" images -src/assets/NFD/images \ No newline at end of file +assets/NFD/images/* +!assets/NFD/images/.gitkeep diff --git a/assets/NFD/images/.gitkeep b/assets/NFD/images/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/commands/NFD.ts b/src/commands/NFD.ts index 6114f53..6d74494 100644 --- a/src/commands/NFD.ts +++ b/src/commands/NFD.ts @@ -70,8 +70,8 @@ class NFD { private MAX_NFD_PRICE_EXPONENT = 30 - private FRAGMENT_PATH = path.join(__dirname, '../../../assets/NFD/fragments') - private OUTPUT_PATH = path.join(__dirname, '../../../assets/NFD/images') + private FRAGMENT_PATH = path.join(__dirname, '../../assets/NFD/fragments') + private OUTPUT_PATH = path.join(__dirname, '../../assets/NFD/images') private MAX_NFD_LISTED = 25 private MAX_COLLAGE_ITEMS = 25 diff --git a/src/events/CallResponse.ts b/src/events/CallResponse.ts index ab37dfe..5b43bfd 100644 --- a/src/events/CallResponse.ts +++ b/src/events/CallResponse.ts @@ -14,7 +14,7 @@ type CallResponse = { @Discord() abstract class CallAndResponder { - private BasePath = '../../../assets' + private BasePath = '../../assets' // todo: Move these into a json obj and serialize and cache the obj at runtime // Would allow us to add triggers via a mod command should we choose to