Add punctuation in permission denied message

This commit is contained in:
SileNce5k 2021-03-13 04:33:55 +01:00
parent a2cc442477
commit 0d7f1a7b6b
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -6,7 +6,7 @@ module.exports = {
description: 'Change the prefix of the bot in this server.', description: 'Change the prefix of the bot in this server.',
execute({ message, client, args, prefix }) { execute({ message, client, args, prefix }) {
if (!message.member.hasPermission('MANAGE_GUILD')) { if (!message.member.hasPermission('MANAGE_GUILD')) {
message.channel.send("You do not have sufficient permissions(MANAGE_GUILD) to change the prefix of this server") message.channel.send("You do not have sufficient permissions(MANAGE_GUILD) to change the prefix of this server.")
return; return;
} }
if (!args[0]) { if (!args[0]) {