Skip to content

Commit

Permalink
updated dynamic import in config
Browse files Browse the repository at this point in the history
  • Loading branch information
GhomKrosmonaute committed Jun 26, 2024
1 parent 7084c2f commit eb9a572
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ const config: Config = {
ignoreBots: true,
openSource: true,
async getPrefix(message) {
return import("./namespaces/tools.ts").then((tools) =>
tools.prefix(message.guild),
)
return import("#app").then((app) => app.prefix(message.guild))
},
client: {
intents: [
Expand Down

0 comments on commit eb9a572

Please sign in to comment.