Skip to content

Commit

Permalink
Correct asset file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerfort committed Apr 7, 2023
1 parent cfe5d8a commit 21fba26
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,5 @@ prisma/generated
prisma/db/*.db*

# Generated "NFD" images
src/assets/NFD/images
assets/NFD/images/*
!assets/NFD/images/.gitkeep
Empty file added assets/NFD/images/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions src/commands/NFD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/events/CallResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21fba26

Please sign in to comment.