title: How to make a per-server, changeable prefix for a Discord bot
body: <p>I'm working on an Economy Bot for Discord written in Node.js with the Discord.js library. I am wondering on how I, and others, could make a per-server, changeable prefix. For example, I would run the command: !changeprefix (new prefix)</p>
  
  <p>I've already tried to use Enmap to create a per-server configuration, but then it would give me unknown errors that made no sense at all.</p>
  
  <pre><code>exports.run = (client, message) =&gt; {
       if(!message.member.hasPermission('ADMINISTRATOR'))
          message.reply(Sorry, you don't have enough perms.)
  
  
      //(The rest of the code that I do not know how to do)
  }
  </code></pre>
  
  <p>My current code only lets Admins run it. I only want Admins to run it.</p>