djs-builder 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/handler/starter.js +2 -2
- package/package.json +1 -1
package/handler/starter.js
CHANGED
|
@@ -201,7 +201,7 @@ async function starter(client, options) {
|
|
|
201
201
|
const args = content.split(/\s+/).slice(1);
|
|
202
202
|
|
|
203
203
|
if (options.prefix.log) {
|
|
204
|
-
await cmd_log(client, message, command.name,
|
|
204
|
+
await cmd_log(client, message, command.name, options.prefix.log);
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
try {
|
|
@@ -283,7 +283,7 @@ async function starter(client, options) {
|
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
if (options.slash.log) {
|
|
286
|
-
await cmd_log(client, interaction, command.name,
|
|
286
|
+
await cmd_log(client, interaction, command.name, options.slash.log);
|
|
287
287
|
}
|
|
288
288
|
try {
|
|
289
289
|
if (typeof command.run === "function") {
|