Skip to content

Commit e52aad1

Browse files
authored
update deprecation warning
1 parent 7ca6a44 commit e52aad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/commandkit/src/handlers/command-handler/CommandHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export class CommandHandler {
149149
if (commandObj.options?.guildOnly) {
150150
console.log(
151151
colors.yellow(
152-
`ℹ️ Deprecation Warning: The command "${commandObj.data.name}" uses options.guildOnly, which will be deprecated soon. Please use the data.dm_permission boolean instead.`,
152+
`ℹ️ Deprecation warning: The command "${commandObj.data.name}" uses "options.guildOnly", which will be deprecated soon. Use "data.dm_permission" instead.`,
153153
),
154154
);
155155
}

0 commit comments

Comments
 (0)