literally just a period
This commit is contained in:
parent
8856c6c17c
commit
ef07388cac
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ module.exports = async (client, message) => {
|
||||||
|
|
||||||
const prefixMention = new RegExp(`^<@!?${client.user.id}>( |)$`);
|
const prefixMention = new RegExp(`^<@!?${client.user.id}>( |)$`);
|
||||||
if (message.content.match(prefixMention)) {
|
if (message.content.match(prefixMention)) {
|
||||||
return message.reply(`my prefix for this guild is \`${settings.prefix}\``);
|
return message.reply(`my prefix for this guild is \`${settings.prefix}\`.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (message.content.indexOf(settings.prefix) !== 0) return;
|
if (message.content.indexOf(settings.prefix) !== 0) return;
|
||||||
|
|
Loading…
Reference in a new issue