Before Begin
It is a bot I wrote for Discord. You can review the details of what you can do with this bot below.
Contents
Installation
To download all files to your workspace;
git clone https://github.com/v-Cx/Discord-Account-Generator.git
Usage
Main Points You Should Arrange
{
"token" : "SERVER TOKEN",
"prefix" : "Prefix that you want to use",
"bId" : SERVER ID,
"accountChannel" : ACCOUNT CHANNEL ID,
"insChannel" : INSTAGRAM CHANNEL ID,
}
token
Paste the token you received from the Discord developer portal for your server here.
Discord Developer Portal
To Get Token;
1- Select Your Application
2- Click Bot on the left sidebar menu
3- Click the "Click to Reveal Token" link next to the Icon option.
prefix
Define your custom prefix.
bId
Paste your server id here.
If you don't know how to make your server ID
-Open Settings in Discord -> Click Apparence -> Enable Developer Mode.
Right click your own server on the servers listed on the left and click "copy ID".
accountChannel
In which channel can users generate accounts using commands?
Detailed explanation: Create a channel. Example (#generate_channel) Users can now generate accounts using the #generate_channel channel.
Developer mode must be turned on.
Right click the channel you created and click "copy ID"..
insChannel
Enter the id of the channel that users query users for Instagram.
Developer mode must be turned on.
Right click the channel you created and click "copy ID"..
.env
MYSQL_HOST=/* MYSQL HOST */
MYSQL_USER=/* MYSQL USER */
MYSQL_SECRET=/* MYSQL PASS */
MYSQL_DB=/* MYSQL DATABASE */
MYSQL_HOST
The host where your SQL table is located (default: localhost)
MYSQL_USER
MySQL Username
MYSQL_SECRET
MySQL Password
MYSQL_DB
MySQL database name
Spotify.js
This file contains functions that will respond to the! Spotify command written by the user according to the prefix (example (!)) You specify on your discord server.
If you wish, you can duplicate this file as many as the number of platforms you will give your users. Or you can write a function instead and rearrange it according to the command that the user has written.
Top comments (11)
how install pls help
Hello there. You can install the bot on a server. Any server on which you can actively run nodejs.
how to run nodejs
npm start run :)
idk what that means
Can you help me on discord?
My discord is 3p1c#0386
run start run
how i install, im dumb
Hello there. You can install the bot on a server. Any server on which you can actively run nodejs.
ok so i did the things but how do i like add the code to the bot and how do i put the bot on server