Skip to content

Commit

Permalink
📢 WhatsAsena Version V1.2.3 is Available Now
Browse files Browse the repository at this point in the history
* Added Official - Unofficiall Plugin Checker

* Update TR.json

* Update AZ.json

* Update EN.json

* Update ES.json

* Update HI.json

* Update ID.json

* Update ML.json

* Update PT.json

* Security

* Added Calculator 🥳

* Fix

* Update TR.json

* Update AZ.json

* Update EN.json

* Update ES.json

* Update HI.json

* Update ID.json

* Update ML.json

* Update PT.json

* Update XMedia.js

* Update carbon.js

* Update conventer.js

* Update deepai.js

* Update ffmpeg.js

* Update heroku.js

* Update memes.js

* Update ffmpeg.js

* Update neko.js

* Update ocr.js

* Update removebg.js

* Update report.js

* Update scrapers.js

* Update screenshot.js

* Update social-scraper.js

* Update someonesay.js

* Update stickers.js

* Update system_stats.js

* Update tagadmin.js

* Update tblend.js

* Update ttp.js

* Update unvoice.js

* Update voicy.js

* Update wallpaper.js

* Update weather.js

* Update whois.js

* Fixed İnstalling Plugins [ Trigger .insta Command  ]

* Version Integrated 1.2.3
  • Loading branch information
phaticusthiccy authored May 1, 2021
1 parent f305cdb commit 175f9be
Show file tree
Hide file tree
Showing 39 changed files with 336 additions and 250 deletions.
293 changes: 105 additions & 188 deletions bot.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ DATABASE_URL = process.env.DATABASE_URL === undefined ? './whatsasena.db' : proc
DEBUG = process.env.DEBUG === undefined ? false : convertToBool(process.env.DEBUG);

module.exports = {
VERSION: 'v1.2 Global Stable',
VERSION: 'v1.2.3 Global Stable',
CHANNEL: 'https://t.me/remasterplugin',
SESSION: process.env.ASENA_SESSION === undefined ? '' : process.env.ASENA_SESSION,
GANSTYLE: process.env.GAN_IMAGE === undefined ? 'https://i.hizliresim.com/loUtAb.jpg' : process.env.GAN_IMAGE,
Expand Down
5 changes: 5 additions & 0 deletions language/AZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"INSTALLED_FROM_REMOTE": "*Xaricdən qurduğunuz plaginlər:*\n",
"NO_PLUGIN": "*Xarici plaginlər quraşdırmamışsınız!*",
"REMOVE_DESC": "Plugin çıxarır.",
"UNOFF": "⚠️ *Diqqət!* \n*Qurduğunuz plagin rəsmi deyil!*",
"NEED_PLUGIN": "```Zəhmət olmasa bir Plugin daxil edin! Nümunə: .plugin __test```",
"NOT_FOUND_PLUGIN": "```Bəlkə belə bir plagin quraşdırmısınız, ya da yox. Ancaq əmin deyil ki, indi deyil.```",
"DELETED": "*✅ Modul uğurla silindi!*",
Expand Down Expand Up @@ -266,6 +267,10 @@
"SPEEDTEST_RESULT": "*Sürəti testi elədim!*",
"UPLOAD": "Yükləmə",
"DOWNLOAD": "Endirmə",
"CALC": "Sadə riyaziyyat əməliyyatları həyata keçirir.",
"SUC": "*Hesablama tamamlandı ✅*\n*Nəticə:* ",
"UNSUC": "*Hesablama alınmadı ❌*\n*Xəta:* \n",
"VALİD": "*Zəhmət olmasa tətbiq oluna bilər!* \n*.calc 1 + 2*\n*.calc 3 x 5*\n*.calc 10 / 5*\n*.calc 5 - 2*",
"PING_DESC": "Ping'inizi ölçər.",
"URL": "Uzun əlaqəni qısaldın."
},
Expand Down
5 changes: 5 additions & 0 deletions language/EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"_plugin": {
"INSTALL_DESC": "Install external plugins.",
"NEED_URL": "Please enter a URL! Example:",
"UNOFF": "⚠️ *Attention!* \n*The plugin you have installed is not official!*",
"INVALID_URL": "```Please enter a valid url!```",
"INVALID_PLUGIN": "*❌ Your plugin is invalid!*\n*Error:*",
"INSTALLED": "*✅ Plugin has been successfully installed!*",
Expand Down Expand Up @@ -268,6 +269,10 @@
"SPEEDTEST_RESULT": "*Speed ​​test completed!*",
"UPLOAD": "Upload",
"DOWNLOAD": "Download",
"CALC": "Performs simple math operations.",
"SUC": "*Calculation Done ✅*\n*Result:* ",
"UNSUC": "*Calculation Failed ❌*\n*Error:* \n",
"VALİD": "*Please Use As Applicable!* \n*.calc 1 + 2*\n*.calc 3 x 5*\n*.calc 10 / 5*\n*.calc 5 - 2*",
"PING_DESC": "Measures your ping.",
"URL": "Shorten the long link."
},
Expand Down
5 changes: 5 additions & 0 deletions language/ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"NEED_PLUGIN": "```Introduzca un complemento. Ejemplo: .plugin _ejemplo```",
"NOT_FOUND_PLUGIN": "```Tal vez haya instalado un complemento de este tipo, o tal vez no. Pero seguro que no ahora mismo.```",
"DELETED": "*✅ ¡Plugin eliminado correctamente!*",
"UNOFF": "⚠️ *Atención!* \n*El plugin que subiste no es oficial!*",
"WARN": "Obtenga complementos solo del canal t.me/remasterplugin."
},
"admin": {
Expand Down Expand Up @@ -267,6 +268,10 @@
"SPEEDTESTING": "```Prueba de velocidad en ejecución...```",
"SPEEDTEST_RESULT": "*¡Prueba de velocidad hecha!*",
"UPLOAD": "Subida",
"CALC": "Realiza operaciones matemáticas simples.",
"SUC": "*Cálculo hecho ✅*\n*Resultado:* ",
"UNSUC": "*Error de cálculo ❌*\n*Error:* \n",
"VALİD": "*Utilice según corresponda!* \n*.calc 1 + 2*\n*.calc 3 x 5*\n*.calc 10 / 5*\n*.calc 5 - 2*",
"DOWNLOAD": "Bajada",
"PING_DESC": "Mide tu ping.",
"URL": "Acorta el enlace largo."
Expand Down
5 changes: 5 additions & 0 deletions language/HI.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"_plugin": {
"INSTALL_DESC": "प्लगइन इंस्टॉल करता है|",
"UNOFF": "⚠️ *ध्यान!* \n*आपके द्वारा इंस्टॉल किया गया प्लगइन आधिकारिक नहीं है!*",
"NEED_URL": "कृपया एक URL दर्ज करें! उदाहरण:",
"INVALID_URL": "```कृपया एक मान्य URL दर्ज कीजिए!```",
"INVALID_PLUGIN": "*❌ आपका प्लगइन अमान्य है!*\n*एरर:*",
Expand Down Expand Up @@ -267,6 +268,10 @@
"SPEEDTESTING": "```गति परीक्षण चल रहा है...```",
"SPEEDTEST_RESULT": "*स्पीड टेस्ट पूरा हुआ!*",
"UPLOAD": "अपलोड",
"CALC": "सरल गणित संचालन करता है.",
"SUC": "*गणना की गई ✅*\n*परिणाम:* ",
"UNSUC": "*गणना विफल ❌*\n*त्रुटि:* \n",
"VALİD": "*लागू के रूप में उपयोग करें!* \n*.calc 1 + 2*\n*.calc 3 x 5*\n*.calc 10 / 5*\n*.calc 5 - 2*",
"DOWNLOAD": "डाउनलोड",
"PING_DESC": "आपके पिंग को मापता है।",
"URL": "लंबे लिंक को छोटा करें."
Expand Down
5 changes: 5 additions & 0 deletions language/ID.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"_plugin": {
"INSTALL_DESC": "Penginstalan plugin.",
"UNOFF": "⚠️ *Perhatian!* \n*Plugin yang Anda instal tidak resmi!*",
"NEED_URL": "Harap masukkan URL Plugin! Contoh:",
"INVALID_URL": "```Harap masukkan url yang valid!```",
"INVALID_PLUGIN": "*❌ Plugin Anda tidak valid!*\n*Kesalahan:*",
Expand Down Expand Up @@ -268,6 +269,10 @@
"SPEEDTEST_RESULT": "*Uji kecepatan selesai!*",
"UPLOAD": "Unggah",
"DOWNLOAD": "Unduh",
"CALC": "Melakukan operasi matematika sederhana.",
"SUC": "*Perhitungan Selesai ✅*\n*Hasil:* ",
"UNSUC": "*Perhitungan Gagal ❌*\n*Kesalahan:* \n",
"VALİD": "*Harap Gunakan Seperti Yang Berlaku!* \n*.calc 1 + 2*\n*.calc 3 x 5*\n*.calc 10 / 5*\n*.calc 5 - 2*",
"PING_DESC": "Mengukur ping anda.",
"URL": "Persingkat tautan panjang."
},
Expand Down
5 changes: 5 additions & 0 deletions language/ML.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"_plugin": {
"INSTALL_DESC": "പ്ലഗിൻ ഇൻസ്റ്റാൾ ചെയ്യുക.",
"NEED_URL": "ദയവായി ഒരു URL നൽകുക! ഉദാഹരണം:",
"UNOFF": "⚠️ *ശ്രദ്ധ!* \n*നിങ്ങൾ ഇൻസ്റ്റാൾ ചെയ്ത പ്ലഗിൻ .ദ്യോഗികമല്ല!*",
"INVALID_URL": "```ദയവായി സാധുവായ ഒരു യു ആർ എൽ നൽകുക!```",
"INVALID_PLUGIN": "*❌ നിങ്ങളുടെ പ്ലഗിൻ അസാധുവാണ്!*\n*പിശക്:*",
"INSTALLED": "*✅ പ്ലഗിൻ വിജയകരമായി ഇൻസ്റ്റാൾ ചെയ്തു!*",
Expand Down Expand Up @@ -267,6 +268,10 @@
"SPEEDTESTING": "```നെറ്റ്‌വർക്ക് വേഗത പരിശോധിക്കുന്നു...```",
"SPEEDTEST_RESULT": "*വേഗത ​​പരീക്ഷ കഴിഞ്ഞു!*",
"UPLOAD": "അപ്‌ലോഡ്",
"CALC": "ലളിതമായ ഗണിത പ്രവർത്തനങ്ങൾ നടത്തുന്നു.",
"SUC": "*കണക്കുകൂട്ടൽ പൂർത്തിയായി ✅*\n*ഫലമായി:* ",
"UNSUC": "*കണക്കുകൂട്ടൽ പരാജയപ്പെട്ടു ❌*\n*പിശക്:* \n",
"VALİD": "*ബാധകമായ രീതിയിൽ ഉപയോഗിക്കുക!* \n*.calc 1 + 2*\n*.calc 3 x 5*\n*.calc 10 / 5*\n*.calc 5 - 2*",
"DOWNLOAD": "ഡൗൺലോഡ്",
"PING_DESC": "പാക്കറ്റ് വേഗത.",
"URL": "ദൈർഘ്യമേറിയ ലിങ്ക് ചെറുതാക്കുക."
Expand Down
5 changes: 5 additions & 0 deletions language/PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"_plugin": {
"INSTALL_DESC": "Instale plugins externos.",
"NEED_URL": "Por favor insira um URL! Exemplo:",
"UNOFF": "⚠️ *Atenção!* \n*O plugin que você instalou não é oficial!*",
"INVALID_URL": "```Por favor, insira um URL válido!```",
"INVALID_PLUGIN": "*❌ Seu plugin é inválido!*\n*Erro:*",
"INSTALLED": "*✅ Plugin foi instalado com sucesso!*",
Expand Down Expand Up @@ -268,6 +269,10 @@
"SPEEDTEST_RESULT": "*Teste de velocidade concluído!*",
"UPLOAD": "Upload",
"DOWNLOAD": "Download",
"CALC": "Executa operações matemáticas simples.",
"SUC": "*Cálculo Feito ✅*\n*Resultado:* ",
"UNSUC": "*Cálculo falhou ❌*\n*Erro:* \n",
"VALİD": "*Use conforme aplicável!* \n*.calc 1 + 2*\n*.calc 3 x 5*\n*.calc 10 / 5*\n*.calc 5 - 2*",
"PING_DESC": "Mede seu ping.",
"URL": "Encurte o link longo."
},
Expand Down
5 changes: 5 additions & 0 deletions language/TR.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"NEED_PLUGIN": "```Lütfen bir Plugin giriniz! Örnek: .plugin test```",
"NOT_FOUND_PLUGIN": "```Böyle bir plugin belki yüklediniz, belki de yüklemediniz. Ama şu an olmadığı kesin.```",
"DELETED": "*✅ Modül başarıyla silindi!*",
"UNOFF": "⚠️ *Dikkat!* \n*Yüklendiğiniz plugin resmi değildir!*",
"WARN": "Pluginleri sadece t.me/remasterplugin kanalından alın."
},
"admin": {
Expand Down Expand Up @@ -268,6 +269,10 @@
"SPEEDTEST_RESULT": "*Hız testi yapıldı!*",
"UPLOAD": "Yükleme",
"DOWNLOAD": "İndirme",
"CALC": "Basit matematik işlemleri yapar.",
"SUC": "*Hesaplama Yapıldı ✅*\n*Sonuç:* ",
"UNSUC": "*Hesaplama Yapılamadı ❌*\n*Hata:* \n",
"VALİD": "*Lütfen Geçerli Olan Şekilde Kullanın!* \n*.calc 1 + 2*\n*.calc 3 x 5*\n*.calc 10 / 5*\n*.calc 5 - 2*",
"PING_DESC": "Pinginizi ölçer.",
"URL": "Uzun linki kısaltır."
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/XMedia.js
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,7 @@ else if (Config.WORKTYPE == 'public') {
});
return await message.client.deleteMessage(message.jid, {id: downloading.key.id, remoteJid: message.jid, fromMe: true})
}));
Asena.addCommand({pattern: 'xmedia', fromMe: true, desc: Lang.XMEDİA_DESC}, (async (message, match) => {
Asena.addCommand({pattern: 'xmedia', fromMe: true, desc: Lang.XMEDİA_DESC, dontAddCommandList: true}, (async (message, match) => {

await message.sendMessage('💻Usage: *.mp4enhance*\nℹ️Desc: 🇹🇷 Videnun kalitesini artırır.\n🇬🇧 Enhance video’s quality.\n\n💻Usage: *.interp*\nℹ️Desc: 🇹🇷 Videonun FPS değerini arttırır.\n🇬🇧 Increases the FPS of the video.\n\n💻Usage: *.mp4slowmo*\nℹ️Desc: 🇹🇷 Ağır çekim olmayan videolara true-slowmo uygular.\n🇬🇧 Applies true-slowmo to non-slow motion videos.\n\n💻Usage: *.x4mp4*\nℹ️Desc: 🇹🇷 Video Kalitesini 4 kat düşürür.\n🇬🇧 Reduce video’s quality by 75%.\n\n💻Usage: *.x2mp4*\nℹ️Desc: 🇹🇷 Video Kalitesini 2 kat düşürür.\n🇬🇧 Reduce video’s quality by 50%.\n\n💻Usage: *.gif*\nℹ️Desc: 🇹🇷 Videoyu gif’e çevirir.\n🇬🇧 Converts video to gif.\n\n💻Usage: *.agif*\nℹ️Desc: 🇹🇷 Videoyu sesli gif’e çevirir.\n🇬🇧 Converts video to voiced gif.\n\n💻Usage: *.mp4blur*\nℹ️Desc: 🇹🇷 Video arka planını bulanıklaştırır.\n🇬🇧 Blurs the background of the video.\n\n💻Usage: *.mp4stab*\nℹ️Desc: 🇹🇷 Videonun titreşimini azaltır.\n🇬🇧 Decreases the vibration of the video.\n\n💻Usage: *.mp4rainbow*\nℹ️Desc: 🇹🇷 Videoya gökkuşağı efekti uygular.\n🇬🇧 Applies a rainbow effect to video.\n\n💻Usage: *.mp4color*\nℹ️Desc: 🇹🇷 Videonun renklerini daha canlı ve çekici yapar.\n🇬🇧 Makes the colors of the video more vivid and beautiful.\n\n💻Usage: *.mp4art*\nℹ️Desc: 🇹🇷 Videoya çizim efekti uygular.\n🇬🇧 Applies a art effect to the video.\n\n💻Usage: *.mp4negative*\nℹ️Desc: 🇹🇷 Videoya negatif renk filtresi uygular.\n🇬🇧 Applies a negative color filter to the video.\n\n💻Usage: *.mp4vintage*\nℹ️Desc: 🇹🇷 Videoya nostaji efekti uygular.\n🇬🇧 Applies a nostalgic effect to video.\n\n💻Usage: *.mp4bw*\nℹ️Desc: 🇹🇷 Videoya monochrome efekti uygular.\n🇬🇧 Applies a monochrome effect to video.\n\n💻Usage: *.mp4reverse*\nℹ️Desc: 🇹🇷 Videoyu tersten oynatır.\n🇬🇧 Plays the video in reverse.\n\n💻Usage: *.mp4edge*\nℹ️Desc: 🇹🇷 Videoya edge efekti uygular.\n🇬🇧 Applies a edge effect to the video.\n\n💻Usage: *.mp4image*\nℹ️Desc: 🇹🇷 Fotoğrafı 5 saniyelik videoya çevirir.\n🇬🇧 Converts photo to 5 sec video.\n\n💻Usage: *.spectrum*\nℹ️Desc: 🇹🇷 Sesin spektrum görüntüsünü video yapar.\n🇬🇧 Converts the spectrum of sound into video.\n\n💻Usage: *.waves*\nℹ️Desc: 🇹🇷 Sesin dalga aralığını videoya çevirir.\n🇬🇧 Converts the wave range of sound to video.\n\n💻Usage: *.frequency*\nℹ️Desc: 🇹🇷 Sesin frekans aralığını videoya çevirir.\n🇬🇧 Converts the frequency range of sound to video.\n\n💻Usage: *.avec*\nℹ️Desc: 🇹🇷 Sesin farklı bir histogramını videoya çevirir.\n🇬🇧 Converts the histogram of sound to video.\n\n💻Usage: *.volumeaudio*\nℹ️Desc: 🇹🇷 Sesin Desibel Değerini Videoya Dönüştürür.\n🇬🇧 Converts the decibel value of the sound into video.\n\n💻Usage: *.cqtaudio*\nℹ️Desc: 🇹🇷 Ses CQT değerini videoya çevirir.\n🇬🇧 Converts the CQT value of audio to video.\n\n💻Usage: *.mp3eq*\nℹ️Desc: 🇹🇷 Sesi kristal berraklık düzeyinde ayarlar.\n🇬🇧 Adjusts the sound to a crystal clear level.\n\n💻Usage: *.mp3crusher*\nℹ️Desc: 🇹🇷 Sesi bozar ve gülünç hale getirir.\n🇬🇧 Distorts the sound, makes ridiculous.\n\n💻Usage: *.mp3reverse*\nℹ️Desc: 🇹🇷 Sesi Tersen Oynatır.\n🇬🇧 Plays the sound in reverse.\n\n💻Usage: *.mp3pitch*\nℹ️Desc: 🇹🇷 Sesi inceltir ve hızlandırır.\n🇬🇧 Makes the sound thinner and faster.\n\n💻Usage *.mp3low*\nℹ️Desc: 🇹🇷 Sesi kalınlaştırır ve yavaşlatır.\n🇬🇧 Makes the sound deep and slower.\n\n💻Usage: *.x2mp3*\nℹ️Desc: 🇹🇷 Sesi 2 kat hızlandırır.\n🇬🇧 Makes the sound twice as fast.\n\n💻Usage: *.mp3volume*\nℹ️Desc: 🇹🇷 Ses seviyesini fazalca arttırır.\n🇬🇧 Increase sound level so much.\n\n💻Usage: *.bwimage*\nℹ️Desc: 🇹🇷 Fotoğrafa monochrome efekti uygular.\n🇬🇧 Applies a monochrome effect to image.\n\n💻Usage: *.vintageimage*\nℹ️Desc: 🇹🇷 Fotoğrafa vintage efekti uygular.\n🇬🇧 Applies a vinatge effect to video.\n\n💻Usage: *.edgeimage*\nℹ️Desc: 🇹🇷 Fotoğrafa edge efekti uygular.\n🇬🇧 Applies a edge effect to the photo.\n\n💻Usage: *.enhanceimage*\nℹ️Desc: 🇹🇷 Fotoğrafı daha net hale getirir.\n🇬🇧 Makes the photo clearer.\n\n💻Usage: *.blurimage*\nℹ️Desc: 🇹🇷 Fotoğrafın arka planını bulanıklaştırır.\n🇬🇧 Blurs the background of the photo.\n\n💻Usage: *.grenimage*\nℹ️Desc: 🇹🇷 Fotoğrafa gren efekti uygular.\n🇬🇧 Applies grain effect to the photo.\n\n💻Usage: *.negativeimage*\nℹ️Desc: 🇹🇷 Fotoğrafa negatif renk filtresi uygular.\n🇬🇧 Applies a negative color filter to the photo.\n\n💻Usage: *.rainbowimage*\nℹ️Desc: 🇹🇷 Fotoğrafa gökkuşağı efekti uygular.\n🇬🇧 Applies rainbow effect to the photo.\n\n💻Usage: *.colorimage*\nℹ️Desc: 🇹🇷 Fotoğrafın renklerini daha canlı ve çekici yapar.\n🇬🇧 It makes the colors of the photo more vivid and attractive.\n\n💻Usage: *.artimage*\nℹ️Desc: 🇹🇷 Fotoğrafa çizim efekti uygular.\n🇬🇧 Applies a art effect to the photo.');

Expand Down
12 changes: 6 additions & 6 deletions plugins/_asena.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (Config.WORKTYPE == 'private') {
async (command) => {
if (command.dontAddCommandList || command.pattern === undefined) return;
try {
var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşiö ç1234567890]*)/);
var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşıiöç1234567890 ]*)/);
} catch {
var match = [command.pattern];
}
Expand Down Expand Up @@ -53,7 +53,7 @@ if (Config.WORKTYPE == 'private') {
async (command) => {
if (command.dontAddCommandList || command.pattern === undefined) return;
try {
var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/);
var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşıiöç1234567890 ]*)/);
} catch {
var cmatch = [command.pattern];
}
Expand Down Expand Up @@ -91,7 +91,7 @@ else if (Config.WORKTYPE == 'public') {
async (command) => {
if (command.dontAddCommandList || command.pattern === undefined) return;
try {
var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşiö ç1234567890]*)/);
var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşıiöç1234567890 ]*)/);
} catch {
var match = [command.pattern];
}
Expand Down Expand Up @@ -121,7 +121,7 @@ else if (Config.WORKTYPE == 'public') {
async (command) => {
if (command.dontAddCommandList || command.pattern === undefined) return;
try {
var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/);
var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşiıöç1234567890 ]*)/);
} catch {
var cmatch = [command.pattern];
}
Expand Down Expand Up @@ -156,7 +156,7 @@ else if (Config.WORKTYPE == 'public') {
async (command) => {
if (command.dontAddCommandList || command.pattern === undefined) return;
try {
var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşiö ç1234567890]*)/);
var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşiıöç1234567890 ]*)/);
} catch {
var match = [command.pattern];
}
Expand Down Expand Up @@ -186,7 +186,7 @@ else if (Config.WORKTYPE == 'public') {
async (command) => {
if (command.dontAddCommandList || command.pattern === undefined) return;
try {
var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/);
var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşiıöç1234567890 ]*)/);
} catch {
var cmatch = [command.pattern];
}
Expand Down
Loading

0 comments on commit 175f9be

Please sign in to comment.