Declare variable
This commit is contained in:
parent
e73dc69cb5
commit
35379aaf49
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
module.exports = function(client, owners, message, globalPrefix){
|
module.exports = function(client, owners, message, globalPrefix){
|
||||||
|
let prefix;
|
||||||
if (client.serverPrefixes.get(message.guild.id)) {
|
if (client.serverPrefixes.get(message.guild.id)) {
|
||||||
prefix = client.serverPrefixes.get(message.guild.id)
|
prefix = client.serverPrefixes.get(message.guild.id)
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Add table
Reference in a new issue