Disable And/Or Change Listeners Directory

Is there a way to change the default name of the listeners directory? If not, is there a way to completely disable automatic registration of the listeners? If there is, how do you register them manually?
Solution:
In regards to changing the default name of the listeners directory, you will need a file called .sapphirerc.json and in there put this: this is just an example ```json...
Jump to solution
3 Replies
Solution
Auric
Auric2y ago
In regards to changing the default name of the listeners directory, you will need a file called .sapphirerc.json and in there put this: this is just an example
{
"$schema": "https://raw.githubusercontent.com/sapphiredev/cli/main/templates/schemas/.sapphirerc.scheme.json",
"projectLanguage": "ts",
"locations": {
"base": "src",
"arguments": "arguments",
"commands": "commands",
"listeners": "listeners",
"preconditions": "preconditions"
},
"customFileTemplates": {
"enabled": true,
"location": "templates"
}
}
{
"$schema": "https://raw.githubusercontent.com/sapphiredev/cli/main/templates/schemas/.sapphirerc.scheme.json",
"projectLanguage": "ts",
"locations": {
"base": "src",
"arguments": "arguments",
"commands": "commands",
"listeners": "listeners",
"preconditions": "preconditions"
},
"customFileTemplates": {
"enabled": true,
"location": "templates"
}
}
Auric
Auric2y ago
but other than that idk how to disable the registration of it
xAfflict
xAfflictOP2y ago
I see. Thank you so much!
Want results from more Discord servers?
Add your server