Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- client.on("message", async msg => {
- if(msg.author.bot || msg.channel.type === "dm") return undefined;
- let args = msg.content.split(' ');
- if(args[0].toLowerCase() == `${prefix}hi`) {
- let sss = await db.fetch(`languser${msg.author.id}_`)
- if(sss === "english") {
- msg.channel.send(`**welcome**`)
- }
- if(sss === "arabic") {
- msg.channel.send(`**مرحباً**`)
- }
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement