From eabcdc3a045c9d16c421fa07835911beefad9b9a Mon Sep 17 00:00:00 2001 From: Fanaboven1337 Date: Sat, 31 Aug 2024 22:19:32 +0300 Subject: [PATCH] =?UTF-8?q?Update=20and=20rename=20src/bdscript/noMentionM?= =?UTF-8?q?essageComplex.md=20to=20$nomention=20$title[**=D0=B1=D0=BB?= =?UTF-8?q?=D0=BE=D0=BA=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=F0=9F=94=92**]?= =?UTF-8?q?=20$description[**=D0=90=D0=B4=D0=BC=D0=B8=D0=BD=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=B0=D1=82=D0=BE=D1=80=20<@$mentioned[1]>?= =?UTF-8?q?=F0=9F=94=92!=20=D0=9F=D1=80=D0=B8=D1=87=D0=B8=D0=BD=D0=B0=20:?= =?UTF-8?q?=20$message**]=20$time[Europe/Moscow]=20$footer[=D0=B1=D0=BB?= =?UTF-8?q?=D0=BE=D0=BA=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=20=D1=83=D1=87?= =?UTF-8?q?=D0=B0=D1=81=D1=82=D0=BD=D0=B8=D0=BA=D0=B0=20=D0=B2=20$hour:$mi?= =?UTF-8?q?nute:$second]=20$color[random[1;999999]$deletecommand=20$ban[$m?= =?UTF-8?q?essage]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...om[1;999999]$deletecommand $ban[$message]" | 8 +++++++ src/bdscript/noMentionMessageComplex.md | 21 ------------------- 2 files changed, 8 insertions(+), 21 deletions(-) create mode 100644 "$nomention $title[**\320\261\320\273\320\276\320\272\320\270\321\200\320\276\320\262\320\272\320\260\360\237\224\222**] $description[**\320\220\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200 <@$mentioned[1]>\360\237\224\222! \320\237\321\200\320\270\321\207\320\270\320\275\320\260 : $message**] $time[Europe/Moscow] $footer[\320\261\320\273\320\276\320\272\320\270\321\200\320\276\320\262\320\272\320\260 \321\203\321\207\320\260\321\201\321\202\320\275\320\270\320\272\320\260 \320\262 $hour:$minute:$second] $color[random[1;999999]$deletecommand $ban[$message]" delete mode 100644 src/bdscript/noMentionMessageComplex.md diff --git "a/$nomention $title[**\320\261\320\273\320\276\320\272\320\270\321\200\320\276\320\262\320\272\320\260\360\237\224\222**] $description[**\320\220\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200 <@$mentioned[1]>\360\237\224\222! \320\237\321\200\320\270\321\207\320\270\320\275\320\260 : $message**] $time[Europe/Moscow] $footer[\320\261\320\273\320\276\320\272\320\270\321\200\320\276\320\262\320\272\320\260 \321\203\321\207\320\260\321\201\321\202\320\275\320\270\320\272\320\260 \320\262 $hour:$minute:$second] $color[random[1;999999]$deletecommand $ban[$message]" "b/$nomention $title[**\320\261\320\273\320\276\320\272\320\270\321\200\320\276\320\262\320\272\320\260\360\237\224\222**] $description[**\320\220\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200 <@$mentioned[1]>\360\237\224\222! \320\237\321\200\320\270\321\207\320\270\320\275\320\260 : $message**] $time[Europe/Moscow] $footer[\320\261\320\273\320\276\320\272\320\270\321\200\320\276\320\262\320\272\320\260 \321\203\321\207\320\260\321\201\321\202\320\275\320\270\320\272\320\260 \320\262 $hour:$minute:$second] $color[random[1;999999]$deletecommand $ban[$message]" new file mode 100644 index 0000000000..326ee7647c --- /dev/null +++ "b/$nomention $title[**\320\261\320\273\320\276\320\272\320\270\321\200\320\276\320\262\320\272\320\260\360\237\224\222**] $description[**\320\220\320\264\320\274\320\270\320\275\320\270\321\201\321\202\321\200\320\260\321\202\320\276\321\200 <@$mentioned[1]>\360\237\224\222! \320\237\321\200\320\270\321\207\320\270\320\275\320\260 : $message**] $time[Europe/Moscow] $footer[\320\261\320\273\320\276\320\272\320\270\321\200\320\276\320\262\320\272\320\260 \321\203\321\207\320\260\321\201\321\202\320\275\320\270\320\272\320\260 \320\262 $hour:$minute:$second] $color[random[1;999999]$deletecommand $ban[$message]" @@ -0,0 +1,8 @@ +$nomention +$title[**блокировка🔒**] +$description[**Администратор <@$mentioned[1]>🔒! +Причина : $message**] +$time[Europe/Moscow] +$footer[блокировка участника в $hour:$minute:$second] +$color[random[1;999999]$deletecommand +$ban[$message] diff --git a/src/bdscript/noMentionMessageComplex.md b/src/bdscript/noMentionMessageComplex.md deleted file mode 100644 index 0078c8edf6..0000000000 --- a/src/bdscript/noMentionMessageComplex.md +++ /dev/null @@ -1,21 +0,0 @@ -# $noMentionMessage[] -Returns an argument from the user's message omitting any mentions. - -## Syntax -``` -$noMentionMessage[Argument number] -``` - -### Parameters -- `Argument number` `(Type: HowMany || Flag: Required)`: Returns the argument matching the provided number *(excluding mentions)*. - -> 🧙‍♂️ For example, `$noMentionMessage[1]` would just return the first word of the message, ignoring any possible mentions before. You can also use `$noMentionMessage[>]` to get the last argument/word of the user's message. - -## Example -``` -$nomention -1. $noMentionMessage[1] -3. $noMentionMessage[3] -Last: $noMentionMessage[>] -``` -![example](https://user-images.githubusercontent.com/111157596/232108897-109e42ec-69d0-486c-bd1f-501aa783ed4a.png)