Skip to content

Commit

Permalink
fix(djs): dump call cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobiah committed Apr 30, 2020
1 parent 25da280 commit 18ca760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/Utilities/Dump.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Dump extends Command {
try {
const tokens = channelConfig.messages;
if (channelConfig.target) {
let target = this.bot.client.channels
let target = this.bot.client.channels.cache
.get(channelConfig.target.channel || message.channel.id);
if (!(message.guild && message.guild.channels.cache.has(target.id))) {
message.reply('Channel Not Accessible');
Expand Down

0 comments on commit 18ca760

Please sign in to comment.