-
-
Save AngeloCore/a7ab49803f8aefe0c363a34366153993 to your computer and use it in GitHub Desktop.
const discord = require('discord.js'); | |
require('discord-reply'); //⚠️ IMPORTANT: put this before your discord.Client() | |
const client = new discord.Client(); | |
client.on('ready', () => { | |
console.log(client.user.tag) | |
}); | |
client.on('message', async message => { | |
if (message.content.startsWith('!reply')) { | |
message.lineReply('Hey'); | |
message.lineReply(`My name is ${client.user.username}`, false); //true = mention | false = without mention | |
} | |
if (message.content.startsWith('!edit')) { | |
let m = await message.lineReply('This will be editied', false); | |
setTimeout(() => { | |
m.edit('Successfully editied'); | |
}, 1000) | |
} | |
}); | |
client.login('TOKEN'); | |
/** | |
* You can use | |
* message.lineReplyNoMention() | |
* method or | |
* message.lineReply('content', false) | |
* if yout don't want mention | |
* */ |
/** | |
* No need to define it | |
* */ | |
module.exports = { | |
name: 'reply', | |
category: 'Test', | |
run: (client, message, args) => { | |
message.lineReply('This is reply with @mention'); | |
} | |
} |
who says i'm a god? and what do you mean with "basic code"?
Bruh are you even seeing the npm package Angelo is using a npm package not custom code bruh and no your not a god ok?
i don't really get what you talking about, sorry
Basicly angelo made that npm package called discord-reply what this code is using so i don't get your confusion
who says i'm a god? and what do you mean with "basic code"?
-_-
Who is developer can create discord inline reply
It's not just you who can do it...
who says i'm a god? and what do you mean with "basic code"?
-_-
Who is developer can create discord inline reply
It's not just you who can do it...
i'm not saying that only myself make this. the prob is the code it's totally same, like, variable name, statement, etc
Basicly angelo made that npm package called discord-reply what this code is using so i don't get your confusion
if you asking "have you seen the npm package?", yes of course lol. how can i check the code if idk the package name
the package contains the code smh
you better do npm i to the package and open node_modules, then search the package and check its contents
why is that necessary??????????????????????????????????????????????
that is like making the food then getting it all apart so unnecessary
Bruh are you even seeing the npm package Angelo is using a npm package not custom code bruh and no your not a god ok?
??? seems you don't know how the package works
are u stupid?
We won't deal with the kids
If you need i can re-code from 0 -_-
i don't need it, i just need a confession
WhoEver is Allvaa please stop i saw your inline reply code and it doesn't make sense to extending 2 classes for no reason.
dude, who is extending classes for no reason even tho both classes is used LMAO
i previously didn't extend 2 classes, i just update it yesterday, i made that just to support the replied_user
option on the edit method
well, i actually don't care who was the first. it's all about who wrote that code
Bruh are you even seeing the npm package Angelo is using a npm package not custom code bruh and no your not a god ok?