Message
Message
Message
https://cdn.discordapp.com/attachments/798230494898290709/798570297158271066/
giveaway-zip_1.zip
#command
#command list [shows disabled channels]
#command disable [channel] [ to block bots from sending any message on that
channel]
#command undisable [channel] [to undisable blocked bots channel]
Code: https://pastebin.com/TxcpnhrX
Password; DarkCodes
Credits: @! Darkboy🍭
He was a dark codes developer sadly i dont know his username so i cant contact him.
Hello Guys,
I Am Lord And Today I Will Be Showing You How To Setup A Discord Bot Dashboard.
- Notes :-
You Will Need NodeJS Installed - https://nodejs.org/en/
You Will Need A Code Editor | Proffered(Visual Studio, Sublime Text 3)
VS Code : https://code.visualstudio.com/
Sublime : https://www.sublimetext.com/
===================================================================================
=============================
- First Step
Create A File server.js (You Can Name The File Whatever | Must End In .js )
- Second Step
Now Let's Import Our Packages :
```fix
const {
Discord,
Client,
MessageEmbed
} = require('discord.js'); //Importing discord.js (You Can Use Any Other Discord
API Handler)
const express = require('express'); //Importing express (Web Application Framework)
const passport = require('passport'); //Importing passport (Our Login Handler)
const session = require('express-session'); //Importing express-session (This
Package Will Handle Our Web Session)
const Strategy = require('passport-discord').Strategy; //Importing passport-discord
(This Will Help Us Handle The Discord Login)
const bodyParser = require('body-parser');
const url = require('url');
```
- Second Step
Now Let's Install Our Package's : https://prnt.sc/vkttjo
npm install discord.js express express-session passport-discord body-parser url --
save
- Third Step
Let's Now Write Code RZ91
})
- Sixth Step
Lets Insert Pages RZ97
So EJS Is Our HTML Engine So You Can Style Your Website And Everything
- Notes
```
<%= variable%>
<% to use js in ejs %>
```
For Each Line You Use JS You Have To End It With %>
https://cdn.discordapp.com/attachments/798230494898290709/798583476190183453/
Emojis_-_Command.txt
```fix
module.exports = {
let CanvasType = "rip" //
https://canvacord.js.org/#/docs/main/v5/class/Canvacord
let filename = "img.png" // You Can Use GIF :smile:
let user = message.mentions.users.first() || client.users.cache.get(args[0]) ||
message.author;
let CavnasImg = await canvacord.Canvas[CanvasType]
(user.displayAvatarURL({ format: "png", dynamic: false }));
let attachment = new MessageAttachment(CavnasImg, filename);
return message.channel.send(attachment);
};
```
1- Go To CanvaCord Docs :
https://canvacord.js.org/#/docs/main/v5/class/Canvacord
2- Choose Method
3- Change CanvasType To The Method In The Basic Code
EX:
let CanvasType = "trigger"
CanvaCord: https://canvacord.js.org/
NPM: https://www.npmjs.com/package/canvacord
[All Codes From Our Old Server | We Will Be Posting New Ones ! From Now On]
[The OP Invite Manager Will Be Posted When Darks Online !] BRAND NEW !
```fix
const { MessageEmbed } = require("discord.js");
module.exports = {
name: "review",
category: "bot",
description: "Give us your opinion on the bot!",
aliases: [],
usage: "",
run: (client, message, args) => {
const review = args.join(" ");
https://pastebin.com/4auYgxnQ
emoji info boy
mobile people:
https://pastebin.com/4auYgxnQ
```fix
const { MessageEmbed } = require('discord.js');
module.exports = {
name: "hack",
category: "extra",
description: "Hack a person",
run: async (client, message, args) => {
let target = message.mentions.members.first();
if(!target) {
return message.channel.send(`**${message.author.username}**, Please mention
the person who you want to hack -.-`)
}
```fix
const express = require('express')
const app = express()
module.exports = () => {
app.listen(3000);
}
```
Go back to your main file ex: index.js
and paste this in
```fix
const app = require ('express')
require('./server')();
```
Then go to https://uptimerobot.com/ and make a account
then create a monitor (make sure its http)
paste your website url
and then create monitor
```fix
const express = require('express')
const app = express()
module.exports = () => {
app.listen(3000);
}
```
BDFD Bot, with 42 commands, early for boosters, :wink:
https://cdn.discordapp.com/attachments/798230494898290709/798609592036622386/
BDFDBot.zip
Pass:- darkstudiov2op
Welcome To Channel
```fix
const moment = require("moment");
client.on("guildMemberAdd", member => {
let channel = member.guild.channels.cache.find("name", "WELCOME CHANNEL NAME");
if (!channel) return;
moment.locale("en-UK");
var m = member.user;
let embed = new Discord.MessageEmbed()
.setColor("RANDOM")
.setThumbnail("https://i.imgur.com/p2ip6l4.gif")
.addField("🏅 | Dark Studio", `**Welcome to the server** **__${member}__**
**Please follow the discord tos**`
)
.addField(
"👥 | Number:",
`** You are number** **__${member.guild.memberCount}__**`,
true
)
.addField(
"⏰ | Created Date:",
`**${moment(member.user.createdAt).format("D/M/YYYY h:mm a")}**`,
true
)
.addField(
"👛 | Account Info:",
`**${moment(member.user.createdAt).fromNow()}**`,
true
)
.setFooter(`${member.guild.name}`)
.setTimestamp();
channel.send(embed);
});
```
https://cdn.discordapp.com/attachments/798230494898290709/798690154743070741/
unknown.png
Can't Post Modlog Dude PP Reveal So Here Some Advanced Commands
Channel
Link - https://hatebin.com/rtpplakrqh
Anime
Link - https://hatebin.com/mzslqqqfgq
Creator - Me
Anime Screenshots:
https://cdn.discordapp.com/attachments/798230494898290709/798690154743070741/
unknown.png
https://cdn.discordapp.com/attachments/798230494898290709/798690263445798932/
unknown.png
Channel Screenshots:
https://cdn.discordapp.com/attachments/798230494898290709/798690416601333770/
unknown.png
https://cdn.discordapp.com/attachments/798230494898290709/798690516081704980/
unknown.png
```fix
const Discord = require("discord.js")
const { client } = require("../index.js")
module.exports.run = ( member) => {
const logChannel = member.guild.channels.cache.find(c => c.name === "THE
CHANNEL NAME");
let roles = member.roles.cache.map(r => `<@&${r.id}>`).join(', ').replace(new
RegExp(``, 'g'), '');
if (roles.length === 0) roles = 'none';
if(logChannel) {
logChannel.send(new Discord.MessageEmbed()
.setAuthor(`Member Left....`, member.user.displayAvatarURL({ dynamic:
true }))
.setThumbnail(member.user.displayAvatarURL({ dynamic: true }))
.setDescription(`:broken_heart: <@!${member.user.id}> $
{member.user.tag}\n **Roles:** ${roles}\n we are now 1 member less :c`)
.setFooter(`ID: ${member.user.id}`)
.setTimestamp()
)
}
}
```
Also
Make a category in your files called "events"
make a channel called "guildMemberRemove.js"
the bot is very buggy
but it still works
https://cdn.discordapp.com/attachments/798230494898290709/798967232377913354/
Reaction-Role-1_1.zip
```fix
client.on("presenceUpdate", async (oldPresence, newPresence) => {
let config = {
serverID: "Ur Server ID",
roleID: "The ID of the role that they will receive",
text: "The text to put on the status",
log: "The ID of the Channel it will send message if they have status and they got
the role"
}
//The text is case sensitive
if (newPresence.member.guild.id !== config.serverID) {
return
}
if (!newPresence.member.presence.activities[0]) {
return newPresence.member.roles.remove(config.roleID)
}
let newStatus = newPresence.member.presence.activities[0].state
let oldStatus = oldPresence.member.presence.activities[0].state
if (newPresence.user.bot ||
newPresence.member.presence.status === 'offline') {
return
}
}
})
```
You need to have the PRESENCE_INTENT for this ^
More refined version.
Source Code for the Status Role Bot : https://dross.cf/status-role-bot-sujal-goel
```fix
const RPC = require('discord-rpc')
const client = new RPC.Client({ transport: 'ipc' })
client.on('ready', () => {
client.request('SET_ACTIVITY', {
pid: process.pid,
activity: {
assets: {
large_image: 'ur_large_image'
},
details: 'ur_detials',
buttons: [
{ label: 'Button 1', url: 'Any link' },
{ label: 'Button 2', url: 'Any link' }
]
}
})
console.log('Started!')
})
client.login({clientId: 'ur client id'}) // The name of the client id, will show as
Playing <the name here>
```
`Make sure to do npm i discord-rpc in terminal!`
https://cdn.discordapp.com/attachments/798230494898290709/799590627624484864/
Project_01-151_HD_720p_MEDIUM_FR30.mp4
so thats the giveaway command, to get the database and these stuffs its on
trashmanager file app.js
https://cdn.discordapp.com/attachments/798230494898290709/799603148905381908/
gcreate.js