You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

djs-reply

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djs-reply

Discord.js Kütüphanesi İçin Line/Inline Reply Modülü.

0.0.5
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Image Image

Yüklemek İçin

npm i djs-reply

Değişim Kaydı

[ Eklenenler ]
- Typescript Desteği Eklendi.

Örnek Kullanım

//----------------------------Main----------------------------\\

const Discord = require('discord.js');
const client = new Discord.Client();
const { lineReply, lineReplyNoMention } = require('djs-reply');
// --> Ek Bir İşlem Yapmanıza Gerek Yok Ana Dosyanıza Tanımlamanız Yeterli Olacaktır.

//------------------------------------------------------------\\

Örnek Method Kullanımı

//-----------------------Örnek-----------------------\\

const Discord = require('discord.js');
const client = new Discord.Client();
const { lineReply, lineReplyNoMention } = require('djs-reply');

client.on('message', (message) => {
if (message.content === '!lineReply') {
const embed = new Discord.MessageEmbed()
.setDescription(`Vay Canına! Bu Bir Satır İçine Alınmış Mesaj!`);
message.lineReply(embed); // --> Kullanıcıyı Etiketleyerek Mesajı Satır İçine Alır.
message.lineReplyNoMention(embed); // --> Sadece Mesajı Satır İçine Alır.
};
};
});

client.login('TOKEN');

//-----------------------Manual Reply Örnek-----------------------\\

const Discord = require('discord.js');
const client = new Discord.Client();
const { manualReply, manualReplyNoMention } = require('djs-reply');

client.on('message', (message) => {
if (message.content === '!manualReply') {
manualReply(message, 'Vay Canına! Bu Bir Manuel Satır İçine Alınmış Mesaj!'); 
// --> Kullanıcıyı Etiketleyerek Mesajı Satır İçine Alır.

manualReplyNoMention(message, 'Vay Canına! Bu Bir Manuel Satır İçine Alınmış Mesaj!'); 
// --> Sadece Mesajı Satır İçine Alır.
};
};
});

client.login('TOKEN');

//---------------------------------------------------\\

İletişim Bilgilerim

Discord

Keywords

discord

FAQs

Package last updated on 23 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts