fix bot responding to it's own commands

This commit is contained in:
1e99 2025-07-23 16:13:19 +02:00
parent 07306a47ea
commit 9648e63adb

View file

@ -31,6 +31,10 @@ export default class Commands {
}
#onChat(username, message) {
if (username === this.#client.username) {
return
}
if (!message.startsWith(this.#prefix)) {
return
}