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.
@@ -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, message.channel.id);
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, interaction.channelId);
286
+ await cmd_log(client, interaction, command.name, options.slash.log);
287
287
  }
288
288
  try {
289
289
  if (typeof command.run === "function") {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  {
3
3
  "name": "djs-builder",
4
- "version": "0.6.5",
4
+ "version": "0.6.6",
5
5
  "description": "Discord.js bot builder. Supports Ts and Js.",
6
6
  "main": "handler/starter.js",
7
7
  "dependencies": {