|
@@ -141,7 +141,7 @@ client.on("message", m => {
|
|
|
if (m.mentions.users.first().id == client.user.id) {
|
|
|
let content = m.cleanContent.substring(
|
|
|
`@${client.user.username} `.length
|
|
|
- );
|
|
|
+ ).toLowerCase();
|
|
|
|
|
|
for (let c in commands) {
|
|
|
if (content.startsWith(c)) {
|