Skip to content

Commit

Permalink
fixed filter
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherBThai committed Oct 6, 2021
1 parent f2137f9 commit faab195
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/commands/commandList/patreon/alterGive.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ function rhine (p, info) {
image: {
url: "https://media.discordapp.net/attachments/887582241243422721/889401388633833472/lines-stars-757683.gif"
},
description: `💬 **|** ${info.from.username} says: "Save money and money will save you."`
+ `\n💵 **|** sent ${info.amount} cowoncy`
+ `\n🌸 **|** to ${info.to.username}`
description: `💬 **|** **${info.from.username}** says: "Save money and money will save you."`
+ `\n💵 **|** sent **${info.amount} cowoncy**`
+ `\n🌸 **|** to **${info.to.username}**`
}
return { embed };
}
2 changes: 1 addition & 1 deletion src/utils/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,13 @@ exports.filteredName = function (name) {
}
name = name.replace(/\n/g,"")
.replace(/\r/g,"")
.replace(/\[+|\)+|(\]\(\))+/gi,"")
.replace(/https:/gi,"https;")
.replace(/http:/gi,"http;")
.replace(/discord.gg/gi,"discord,gg")
.replace(/@everyone/gi,"everyone")
.replace(/<@!?[0-9]+>/gi,"User")
.replace(/[*`]+/gi,"'")
.replace(/\[+|\)+|(\]\(\))+/gi,"")
.replace(/\|\|/g,'│');

return { name, offensive:false }
Expand Down

0 comments on commit faab195

Please sign in to comment.