mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 03:47:40 -07:00
Update 1644010796173-convert-hard-mutes.js
This commit is contained in:
parent
56829bbc3d
commit
9cd07c6eac
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ module.exports = class convertHardMutes1644010796173 {
|
|||
for(let i = 0; i < entries.length; i++) {
|
||||
let words = entries[i].mutedWords
|
||||
.map(line => {
|
||||
if (typeof line === 'string') return [];
|
||||
const regexp = line.join(" ").match(/^\/(.+)\/(.*)$/);
|
||||
if (regexp) {
|
||||
// convert regexp's
|
||||
|
|
Loading…
Reference in a new issue