Skip to content

Commit 7c20c30

Browse files
committed
chore: finished fondling.
1 parent 83dc645 commit 7c20c30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/utils/application-commands/ApplicationCommandRegistry.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ export class ApplicationCommandRegistry {
109109
const guildIdsToRegister = this.getGuildIdsToRegister(options);
110110

111111
const registerOptions = {
112-
...(options ?? {}),
113112
registerCommandIfMissing: true,
114113
behaviorWhenNotIdentical: getDefaultBehaviorWhenNotIdentical(),
115-
guildIds: guildIdsToRegister
114+
guildIds: guildIdsToRegister,
115+
...(options ?? {})
116116
};
117117

118118
this.apiCalls.push({
@@ -147,10 +147,10 @@ export class ApplicationCommandRegistry {
147147
const guildIdsToRegister = this.getGuildIdsToRegister(options);
148148

149149
const registerOptions = {
150-
...(options ?? {}),
151150
registerCommandIfMissing: true,
152151
behaviorWhenNotIdentical: getDefaultBehaviorWhenNotIdentical(),
153-
guildIds: guildIdsToRegister
152+
guildIds: guildIdsToRegister,
153+
...(options ?? {})
154154
};
155155

156156
this.apiCalls.push({

0 commit comments

Comments
 (0)