remove caching

This commit is contained in:
Emily 2020-10-18 11:05:45 +11:00
parent 06d5cc55cb
commit 6fd4f4609f
3 changed files with 3 additions and 36 deletions

View file

@ -17,9 +17,6 @@ class Userprefix extends Command {
}
await this.client.db.updateUser(message.author.id, 'prefix', args[0]);
// Update cache
this.client.prefixCache.set(message.author.id, args[0]);
message.channel.send(`Your personal prefix has been set to: \`${args[0]}\``);
}