mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Strip Invites from Voicemail Messages
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "116.37.2",
|
||||
"version": "116.37.3",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -122,7 +122,7 @@ module.exports = class PhoneCall {
|
||||
sendVoicemail(channel, msg) {
|
||||
return channel.send(stripIndents`
|
||||
☎️ New Voicemail from **${msg.guild.name}:**
|
||||
**${msg.author.tag}:** ${msg.content}
|
||||
**${msg.author.tag}:** ${stripInvites(msg.content)}
|
||||
`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user