File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/lib/utils/application-commands Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -109,10 +109,10 @@ export class ApplicationCommandRegistry {
109
109
const guildIdsToRegister = this . getGuildIdsToRegister ( options ) ;
110
110
111
111
const registerOptions = {
112
- ...( options ?? { } ) ,
113
112
registerCommandIfMissing : true ,
114
113
behaviorWhenNotIdentical : getDefaultBehaviorWhenNotIdentical ( ) ,
115
- guildIds : guildIdsToRegister
114
+ guildIds : guildIdsToRegister ,
115
+ ...( options ?? { } )
116
116
} ;
117
117
118
118
this . apiCalls . push ( {
@@ -147,10 +147,10 @@ export class ApplicationCommandRegistry {
147
147
const guildIdsToRegister = this . getGuildIdsToRegister ( options ) ;
148
148
149
149
const registerOptions = {
150
- ...( options ?? { } ) ,
151
150
registerCommandIfMissing : true ,
152
151
behaviorWhenNotIdentical : getDefaultBehaviorWhenNotIdentical ( ) ,
153
- guildIds : guildIdsToRegister
152
+ guildIds : guildIdsToRegister ,
153
+ ...( options ?? { } )
154
154
} ;
155
155
156
156
this . apiCalls . push ( {
You can’t perform that action at this time.
0 commit comments