allowed execution of commands within direct message channels, also fixed 2 crashes with attempting to delete messages without permission to do so
This commit is contained in:
parent
03a7851605
commit
cb16a007d3
3 changed files with 6 additions and 3 deletions
|
@ -100,7 +100,6 @@ client.on("messageCreate", async (message) => {
|
|||
message.content +
|
||||
'"\n'
|
||||
);
|
||||
return;
|
||||
}
|
||||
if (!message.content.startsWith(prefix)) return;
|
||||
const args = message.content.slice(prefix.length).split(/ +/);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue