remove caching
This commit is contained in:
parent
06d5cc55cb
commit
6fd4f4609f
3 changed files with 3 additions and 36 deletions
|
@ -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]}\``);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue