A cool multi purpose bot with some fun commands
◙ Go to Discord Developer Portal
by clicking here
◙ Click on to New Application
and then name your application
◙ Selct the application you will see bot just under OAuth2
select that
◙ Press Add Bot
◙ Then go to OAuth2
to get the bot's invite link
◙ Under scopes you'll see bot click that and under you see Bot Permissions
select the permissions
◙ Copy the invite link which is generated on the Scopes
◙ Go to bot tab then you'll see TOKEN
click copy
And now you got the token !!!
Go to config.json in the repo then do as I say
Go to config.json
Please replace theses text !!
{
"Token": "Replace with your bot's token that I just explained how to obtain",
"YT": "YT API key if you don't need to youtube command then no need to put the API key",
"IMBD": "IMBD api key for the movie command"
"Prefix": "The prefix that you need for your bot",
"Owner": "You ID",
"Invite": "You bot's invite link that we just explained how to obtain",
"Server": "Your bot's support server"
}
Channel Setup
go to channels.json
{
"ServerLogs": "ID of channel that you wann receive the bot's server logs",
"Feeback": "ID of the channel that you wanna get the feedback of the bot",
"Report": "Id of the channel that you wann get the reports of the bot",
"Suggestion": "ID of the channel that you wanna get the duggestions of the bot"
}
If you need to change the emojis go to emoji.json
and change it I recommend the value to be same as it is
First I'll be explaing what all things are required
◙ Then first to install the packages open a terminal in visual studio code type npm install
◙ Then after the packages and intalled and things are been configured in the config.json
◙ Go to the terminal type node index.js
◙ After a few seconds (well maybe more all according to you network) you'll see <your bot's user> is now connected to Discord
And that's for the self hosting
Name | Description | Usgae | Example | Aliases |
---|---|---|---|---|
Ban | Bans a user from the server | !!ban [Mention or ID] [Reason] | !!ban @Dinav Being too cool | - |
Kick | Kicks a user from the server | !!kick [Mention or ID] [Reason] | !!kick @Dinav Rude | - |
Forceban | Bans a user outside the guild and prevent from joining | !!forceban [User ID] [Reason] | !!forceban 484892489332430 nothing | hackban, ipban |
Slowmode | Sets the slowmode to your own wish | !!slowmode [number] | !!slowmode 69 | slow |
Unban | Unbans the user from the banned list | !!unban [User ID] [Reason] | !!unban 43894434893849 Nothing | - |
Clear | Clear the provided amount of messages but the amount should not go above 100 | !!clear [Anount] | !!clear 69 | - |
Addrole | Adds role to a user with the provided role mention or ID | !!addrole [User] [Role] | !!addrole @Dinav @Mod | giverole, ar |
Removerole | Removes role from a user with the provided role mention or ID | !!removerole [User] [Role] | !!removerole @Dinav @Mod | takerole |
Nickname | Changes the nickname of the user with the prvided nickname | !!nickname [User] [nickname but if the nickname has space in between use ""] | !!nickname @Dinav Blob | nick |
Name | Description | Usage | Example | Aliases |
---|---|---|---|---|
8ball | Bot answers the question you ask for | !!8ball [Question] | !!8ball Is Doggo cool ? | - |
Ascii | Converts texts to ascii format | !!ascii [word] | !!ascii HI | - |
PP | Welp you know that command no need to explain | !!pp [Mention or ID] | !!pp @Dinav | - |
Rps | Plays Rock paper scissor with the bot | !!rps [Rock / Paper / Scissor] | !!rps rock | - |
Coinflip | Flips a coin for you | !!coinflip | !!coinflip | toss |
Roll | Rolls die for you | !!roll | !!roll | dice |
Trumptweet | Converts you text to trump's tweet lol | !!trumptweet [message] | !!trumptweet Hi | tt |
Tictactoe | To play tic tac toe with the mentioned user | !!tictactoe [user] | !!tictactoe @Dinav | ttt |
Name | Description | Usage | Example | Aliases |
---|---|---|---|---|
Avatar | Give the avatar of the mentioned user or the ID provided | !!avatar [Mention or ID] | !!avatar @Dinav | av, pfp |
Covid | Gives the covid 19 status of a country | !!covid [country name] | !!covid Canada | corona, rona |
Say | Bot repeats whatever you say | !!say [Something] | !!say HI | tell |
Urban | Give the meaning of a word or a phrase using urban dictionary | !!urban [Word] | !!urban cool | - |
Weather | Gives the weather info of the provided location | !!weather [Location] | !!weather Alberta | - |
Youtube | Searches youtube for you | !!youtube [query] | !!youtube closer | yt |
Embed | Echos your message in embed | !!embed [text] | !!embed Hi | - |
Translate | Translates your word to the provided language | !!translate [language that you need the meaning] [Word] | !!translate spanish Hi | t |
Movie | Gived the info of the provided movie | !!movie [movie name] | !!movie avengers endgame | - |
Name | Description | Usage | Example | Aliases |
---|---|---|---|---|
Meme | Sends a random meme from reddit | !!meme | !!meme | - |
Dog | Sends a random doggo pic | !!dog | !!dog | doggy, doggo |
Fox | Sends a random fox pic | !!fox | !!fox | - |
Bird | Sends a random bird pic | !!bird | !!bird | - |
Cat | Sends a random cat pic | !!cat | !!cat | - |
Panda | Sends a random panda pic | !!panda | !!panda | - |
Koala | Sends a random koala pic | !!koala | !!koala | - |
Redpanda | Sends a ransom red panda pic | !!redpanda | !!redpanda | - |
Name | Description | Usage | Example | Aliases |
---|---|---|---|---|
Help | Gives all the commands I have also the detailed explanation of a command | !!help or !!help [command name] | !!help meme | h, assist |
Serverinfo | Gives the server information of the messaged server | !!serverinfo | !!serverinfo | si, server |
Botinfo | Gives the information of the bot | !!botinfo | !!botinfo | bot, info, stats |
Whois | Gives the information of the user which is mentioned or provided ID | !!userinfo [Mention or ID] | !!userinfo @Dinav | ui, userinfo |
Ping | Gives the latency and API latency of the bot | !!ping | !!ping | ms, latency |
Uptime | Gives the uptime of the bot | !!uptime | !!uptime | ut |
Channelinfo | Gives the info of the provided channel | !!channel info [channel] | !!channelinfo #general | channel |
Roleinfo | Gives the info of the provided role or role id | !!roleinfo [role] | !!roleinfo @Mod | role |
Name | Description | Usage | Exampe | Aliases |
---|---|---|---|---|
Invite | Gets the bot's invite link | !!invite | !!invite | - |
Support | Gets the bot's support servr | !!support | !!support | server |