CodAre'ın resmi sitesi için yapılmış v12tov13 sistemi (BETA)

Overview
Djs logosu

V12toV13

CodAre'ın resmi sitesi için yapılmış v12tov13 sistemi (BETA)

Kurulum

Projeyi klonladıktan sonra proje klasörünün içine girin ve klasörde bir terminal açın. Terminalinize npm i yazmanız yeterli olacaktır.

Kullanım

v12 kodunuzda bulunan metodların argümanlarının her birini "Ð" işaretleri arasına koymalısınız böylece 
program metodunuzda bulunan argümanları ayırt edebilsin. Eğer argüman sisteminin nasıl çalıştığını hala
anlamadıysanız testScript.txt içinde halihazırda yazılı olan koda bakarak argüman
sisteminin çalışma prensibini anlayabilirsiniz.

Kurulum aşamasından sonra çalıştırmak için src klasöründeki FileReader.js dosyasını başlatmanız yeterlidir.

Geliştiriciler İçin

Eğer çevirici programının kodlarını değiştirmek istiyorsanız bilmeniz gerekenler şunlardır

1)-Sp ve Bd- kullanıcının v12 kodunda belirttiği argümanı alıp v13te bulunan 
yerine koymaya yarar örnek olarak
.setAuthor(Ð"birinci argüman"Ð, Ð"ikinci argüman"Ð) //v12 kodumuz

//Program otomatik olarak argümanları sıraya dizer ve yerleştirir sonuç altta belirtilmiştir

.setAuthor({ name: "birinci argüman",iconURL: "ikinci argüman"})

//Bu çıktıyı oluşturmak için kullanılan obje aşağıda belirtilmiştir

{
name: '.setAuthor',
usage: '.setAuthor(argument, argument, argument)',
replace: '.setAuthor({ 1*name: -SpargumentBd-*1 2*iconURL: -SpargumentBd-*2 3*url: -SpargumentBd-*3 })',
maxArgsCount: 3, //burası metodun alabileceği maksimum argüman sayısını belirtir bu değer verilmediği sürece çıktı bozuk çıkacaktır
newName: '.setAuthor'
}

2)Processes arrayinde bulunan bazı objelerde bulunan replace özelliğinde bulunan 
<Sayi>* ve *<Sayi> ne anlama gelmektedir?

1* ve *1 gibi yerlerin kullanılma sebebi eğer 1. argüman girilmezse 1* ve *1 
arasındaki kısım otomatik olarak silinecektir anlamına gelmektedir aynı şekilde 
bu 2. ve 3. argümanlar için de geçerlidir. Ek olarak program otomatik olarak argümanların
arasına virgül ekleme işlemini de bu sayı ve yıldız işaretlerini kullanarak yapar örnek 
olarak 1. argümandan sonra 2. argüman gelir bu yüzden 1. argüman işaretinin sonu "*1" ile 
biter ve 2. argüman işaretinin başlangıcı "2*" ile başlar program otomatik olarak *1 ve 2* 
arasına virgül yerleştirir böylece herhangi bir argüman girilmese bile program hatasız sonuç verebilmektedir

3)maxArgsCount her argüman içerebilen metodların objelerine eklenmesi zorunlu bir özelliktir

4)justReplace nedir?

Eğer bir metodun kullanım şekli aynı kalmış sadece metodun adı değiştirilmiş ise
justReplace özelliği kullanılabilir. justReplace özelliği eklendiğinde argüman
sistemi kullanılmaz bu yüzden obje justReplace içeriyorsa o objenin replace 
özelliğine argüman sistemine dair herhangi bir şey girilmesi gereksizdir.

Not: justReplace özelliği sadece metodlarda değil işlem yapılan satırda herhangi 
bir şeyi değiştirmek için de kullanılabilmektedir.

5)useEqualOperatorHandler nedir?

Bu özellik Discord.js v13te değiştirilmiş bir özelliğin diğer bir özelliğe eşit olması
gerekiyorsa kullanılan bir özelliktir

      Örnek olarak
      
      if(message.channel.type == "text") {} //Giriş olan DJS v12 kodu
                    |
                    |
                    |
                    |
                    |
                    V

                //Kullanılan çevirici obje                   
                {
                  name: "text",
                  usage: "text",
                  replace: "GUILD_TEXT",
                  newName: "GUILD_TEXT",
                  useEqualOperatorHandler: {
                      what: ".type"
                    }
                }

                    |
                    |
                    |
                    |
                    |
                    V

    if(message.channel.type == "GUILD_TEXT") {} //Çıktı olan DJS v13 kodu

Contributorlar:

You might also like...

Terminale yazı yazmak için kullanılan yazılım dili işte mq

NodeJS Projesi Selam! Ben Poncik. Bu projenin amacı yok. Sadece Boş NodeJS projesi. Daha fazla proje paylaşmamı istiyorsanız 3 star lazım. Hadi 3 star

Apr 8, 2022

Özel olarak kodladığım pm2 ve v13 kullanılarak yapılmış botlarımı açık kaynak olarak paylaşıyorum. Bildiğiniz üzere v12 botlar 30 Nisan 2022 tarihinden sonra kullanılamayacak. Bu bot için +100 Star ve 20 fork istiyorum :)

Bot içerisinde hangi sistemler mevcut? • Kayıt sistemi. • Koruma sistemi. • Backup ve rol dağıtım sistemi. • Cezalandırma sistemi. • Sesli hoş geldin

Jul 26, 2022

Ekşi Sözlük için Entry No girerek Entry'i resimli hale getirip paylaşmanız için geliştirilmiş bir araç. [unofficial]

eksiprettier Ekşi Sözlük için Entry No girerek Entry'i resimli hale getirip paylaşmanız için geliştirilmiş bir araç. [unofficial] Nasıl Kullanılır? Ön

Oct 12, 2022

Kişisel blog sitesi

Kişisel blog sitesi

Tailwind Nextjs Başlangıç Blogu = projeyi kolayca deploy edebilirsiniz. Benim sitem- projenin yayınlanmış hali. Klonlamış Olduğum Repo Bu proje Next.

Jan 4, 2022

Spor ve Film Hakkında Konu Öneri Sistemi Olan Discord Botu

Lütfen Okuyunuz! Bu Bot Hem Beceri Hem de Yenilik Olması Amacıyla Sıfırdan Yapılmıştır ve Hiçbir Amaca Yönelik Değildir. İçerisinde Spor,Film ve Karış

Jul 10, 2022

V13 kullanılarak yapılmış slash destekli guard botu. Basit bir şekilde yapılıp geliştirmesi size bırakılmıştır.

V13 kullanılarak yapılmış slash destekli guard botu. Basit bir şekilde yapılıp geliştirmesi size bırakılmıştır.

V13 Slash Guard V13 kullanılarak yapılmış slash destekli guard botu. Basit bir şekilde yapılıp geliştirmesi size bırakılmıştır. Config dosyasını doldu

Dec 10, 2022

Ayarlanabilir Register Sistemi (Yakında Moderasyon'da gelicek)

Ayarlanabilir Register Sistemi (Yakında Moderasyon'da gelicek)

Rowy Bots Testleri yapılmıştır, hiçbir hatası bulunmamaktadır. Sizlere Pusha ile geliştirmiş olduğum botlardan biriyle tanıştırmak istiyorum. Botu kod

Dec 8, 2022

A completely customizable framework for building rich text editors. (Currently in beta.)

A completely customizable framework for building rich text editors. (Currently in beta.)

A completely customizable framework for building rich text editors. Why? · Principles · Demo · Examples · Documentation · Contributing! Slate lets you

Dec 30, 2022

ALi a powerful Discord bot that includes Utility, Fun, Music, Moderation, and much more! (Beta)

ALi a powerful Discord bot that includes Utility, Fun, Music, Moderation, and much more! (Beta)

ALi ALi a powerful Discord Bot Invite ALi · Report Bug · Request Feature 🎭 Futures Music Moderation Fun Economy Utility More 🚀 Installation You can

Oct 17, 2022

ScraperTools BETA Version 1.0.1

ScraperTools Official ScraperTools NPM Package Get Started Via NPM: $ npm install scraper-tools Cara Menggunakan const scrapertools = require('scraper

Sep 28, 2022

🧩 Create code snippets anywhere (beta). Built with Nextjs & Supabase.

🧩 Create code snippets anywhere (beta). Built with Nextjs & Supabase.

🧩 Codetypes (beta) Codetypes is a web application to create code snippets in the cloud, without installation and totally free. You can run Codetypes

Feb 25, 2022

(Beta V3) Apllo-Server integration for Midway & Midway Serverless.

Apollo-Server-Midway V3 简介 这里是 Apollo-Server-Midway 的 V3 版本,适用于 Midway V3 版本 适用于 Midway V2 版本: Apollo-Server-Midway,你也可以直接阅读 GraphQL | Midway。

Jun 15, 2022

Add issues to projects (beta)

Add Issue/PR to Project (BETA) ➕ This GitHub action adds issues or pull requests to a Project (beta). Usage Create a workflow (eg: .github/workflows/o

Aug 12, 2022

Export HTML to word (.docx) only by browser (currently in beta) 🎉

Export HTML to word (.docx) only by browser  (currently in beta) 🎉

editor-to-docx Export rich-text editor content as word file (.docx) by browser 🎉 . English | 简体中文 Demo online demo Snapshot Architecture This project

Oct 21, 2022

🤖A Tic-Tac-Toe solver that uses the minimax algorithm and alpha-beta pruning to make it unbeatable

🤖A Tic-Tac-Toe solver that uses the minimax algorithm and alpha-beta pruning to make it unbeatable

Tic-Tac-Toe AI A Tic-Tac-Toe solver that uses the minimax algorithm and alpha-beta pruning to make it unbeatable How it Works Tic-Tac-Toe is what is k

May 20, 2022

Automate adding issues and pull requests to GitHub projects (beta)

actions/add-to-project Use this action to automatically add the current issue or pull request to a GitHub project. Note that this is for GitHub projec

Jan 3, 2023

🌌 Fast, in-memory, full-text search engine written in TypeScript. Now in beta.

🌌  Fast, in-memory, full-text search engine written in TypeScript. Now in beta.

Installation You can install Lyra using npm, yarn, pnpm: npm i @nearform/lyra yarn add @nearform/lyra pnpm add @nearform/lyra Usage Lyra is quite simp

Dec 30, 2022

Croquet Microverse (Beta)

Croquet Microverse (Beta)

Croquet Microverse (Beta) https://croquet.io Description Croquet Microverse is a framework to build multiplayer immersive 3D virtual worlds on the web

Dec 30, 2022

A Simple Music Bot Made Using Discord-Player Package - (Beta)

A Simple Music Bot Made Using Discord-Player Package - (Beta)

Our Music Bot A Highly Powerful Music Bot Without Lavalink Which Is Gonna Have Setup, A Specific Text Channel For Bot Command Feature, And DJ System S

Dec 14, 2022
Owner
CodAre
Discord code sharing server.
CodAre
ScraperTools BETA Version 1.0.1

ScraperTools Official ScraperTools NPM Package Get Started Via NPM: $ npm install scraper-tools Cara Menggunakan const scrapertools = require('scraper

Zahir Hadi Athallah 21 Sep 28, 2022
Add issues to projects (beta)

Add Issue/PR to Project (BETA) ➕ This GitHub action adds issues or pull requests to a Project (beta). Usage Create a workflow (eg: .github/workflows/o

Austen Stone 5 Aug 12, 2022
🤖A Tic-Tac-Toe solver that uses the minimax algorithm and alpha-beta pruning to make it unbeatable

Tic-Tac-Toe AI A Tic-Tac-Toe solver that uses the minimax algorithm and alpha-beta pruning to make it unbeatable How it Works Tic-Tac-Toe is what is k

Martin 4 May 20, 2022
Automate adding issues and pull requests to GitHub projects (beta)

actions/add-to-project Use this action to automatically add the current issue or pull request to a GitHub project. Note that this is for GitHub projec

GitHub Actions 293 Jan 3, 2023
🌌 Fast, in-memory, full-text search engine written in TypeScript. Now in beta.

Installation You can install Lyra using npm, yarn, pnpm: npm i @nearform/lyra yarn add @nearform/lyra pnpm add @nearform/lyra Usage Lyra is quite simp

NearForm 5.1k Dec 30, 2022
Croquet Microverse (Beta)

Croquet Microverse (Beta) https://croquet.io Description Croquet Microverse is a framework to build multiplayer immersive 3D virtual worlds on the web

Croquet 144 Dec 30, 2022
Gthub action for Project (beta) management. Allows to update fields

titoportas/update-project-fields Use this action to automatically update GitHub project (beta) item fields. Note that this action does not support Git

null 3 Nov 3, 2022
This project is in developer-preview status and will reach the beta in 2023 Q1

rescoped.io This project is in developer-preview status and will reach the beta in 2023 Q1. Currently, the datagrid is under massive refactoring, and

avodaq AG 7 Dec 30, 2022
BETA partytown-qwik

Qwik Partytown ?? This is a package that facilitates the implementation of PartyTown in Qwik. If you don't know what Qwik is See The implementation is

Leifer Mendez 7 Dec 20, 2022
Rastgele kullanıcı verileri için ücretsiz API

Random User Generator Rastgele kullanıcı verileri için ücretsiz API Bilgisayarınızda Çalıştırın Projeyi klonlayın git clone https://github.com/merca

İbrahim Can Mercan 3 Mar 9, 2022