forked from public/foundryvtt-reve-de-dragon
Gestion particulières et Echecs totaux
This commit is contained in:
@ -5,8 +5,8 @@
|
||||
export class ChatUtility {
|
||||
static removeMyChatMessageContaining(part) {
|
||||
const toDelete = game.messages.filter(it => it.user._id == game.user._id)
|
||||
.filter(it => it.data.content.includes(part))
|
||||
.forEach(it => it.delete());
|
||||
.filter(it => it.data.content.includes(part));
|
||||
toDelete.forEach(it => it.delete());
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user