quote return

This commit is contained in:
Jonny_Bro (Nikita) 2024-10-04 12:22:35 +05:00 committed by GitHub
parent 80c93c95e0
commit 4b89b8f447
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ class MessageCreate extends BaseEvent {
if (message.guild) {
await this.updateXp(message);
if (message.content.match(/(https|http):\/\/(ptb\.|canary\.)?(discord.com)\/(channels)\/\d+\/\d+\/\d+/g)) await this.handleLinkQuote(client, message);
if (message.content.match(/(https|http):\/\/(ptb\.|canary\.)?(discord.com)\/(channels)\/\d+\/\d+\/\d+/g)) return await this.handleLinkQuote(client, message);
if (message.data.guild.plugins.automod.enabled && !message.data.guild.plugins.automod.ignored.includes(message.channelId)) await this.checkAutomod(message);
await this.checkAfkStatus(client, message);

View file

@ -41,7 +41,7 @@
"MONITORING": {
"DELETE": {
"TITLE": "{{user}} deleted a message!",
"TITLE": "{{user}}'s message was deleted!",
"DESCRIPTION": "Message content was: ```{{content}}```\nChannel: {{channel}}\nTime created: {{time}}"
},
"UPDATE": {

View file

@ -41,7 +41,7 @@
"MONITORING": {
"DELETE": {
"TITLE": "{{user}} удалил сообщение!",
"TITLE": "Сообщение {{user}} удалено!",
"DESCRIPTION": "Содержимое сообщения было: ```{{content}}```\nКанал: {{channel}}\nВремя создания: {{time}}"
},
"UPDATE": {

View file

@ -41,7 +41,7 @@
"MONITORING": {
"DELETE": {
"TITLE": "{{user}} видалив повідомлення!",
"TITLE": "Повідомлення {{user}} видалено!",
"DESCRIPTION": "Вміст повідомлення було: ```{{content}}```\nКанал: {{channel}}\nЧас створення: {{time}}"
},
"UPDATE": {