This is a Discord bot that I made for any Discord server and has features from moderation to fun google images and game stats.
- Prakhar Trivedi
(Works only if you have an application with a bot setup at the Discord Developer Portal
- Download/Fork this repository.
- Go to index.js and update the 'token' variable at line 39 to your bot's token.
- Additionally, this bot requires a FortniteAPI API Key, so, get one here and update the variable at line 43 in index.js with your API key
- Go to a Discord Bot Permissions Calculator and enter your Discord application's Client ID Do not change the permissions as the bot requires Admin permissions to function
- Click the link provided in the calculator and add the bot to a server.
- On your computer, open up Terminal/Command prompt and 'cd' into the folder and type 'node .' You must have node.js installed for this command to work
- You should see the bot become active on the server.
This step is required: Do pr!ss help
to find out the different admin commands for the bot. Please create a log channel and use pr!ss setlogchannel <id of log channel>
to set the log channel. After this, you can use the bot as per normal. (you may choose to set a main and muted role as well...do pr!ss help
for more information)
pr!
is the default prefix of the bot. Do pr!setprefix <prefix>
if you want to choose your own prefix.
To find out more about the bot, do pr!modhelp (moderator-only command) or pr!help.
- Message Clearing: pr!clear 50...
- Finding out information about members: pr!minfo @...
- Bot Info: pr!info
- Help (pr!help) and moderator help (pr!modhelp) [MOD]
- Mute: pr!mute @... 10s [MOD]
- Poll: pr!poll (channel ID where poll is to be sent) do you like pancakes? [MOD]
- Clear all messages in channel: pr!clear-all [MOD]
- Setting prefix: pr!setprefix ! [MOD]
- Bypass and unmute to bypass timer and unmute someone: pr!bypassandunmute @... [MOD]
- Channel info: pr!cinfo
- Server Info: pr!sinfo
- Random google images (default subject is: memes): pr!gi (subject (optional))
- Minecraft server status: pr!mc (server IP)
- Fortnite Game Details: 'pr!fn help' or 'pr!fn troubleshoot' if you are running into some issues
- Coinflip Feature: pr!coinflip (heads or tails)
- Kicking: pr!kick @... [MOD]
- Banning: pr!ban @... [MOD]
- Trivia: pr!trivia help
- Change a user's nickname: pr!nick @... (new nickname)
- Unban a banned user with an ID: pr!unban (user ID) [MOD]
- Create/Manage an invite: pr!inv [SPECIAL PERMISSIONS]
- Get a list of active invites: pr!invitelist [MOD]
- Perform a mathematical operation: pr!math (operation, e.g 5*10)
- Change some server settings and bot settings: pr!ss help [MOD]
- Lock a channel (prevent people from messaging in it): pr!lockchannel help [MOD]
- Get information from Wikipedia: pr!wiki help
- Listen to Music in a Voice Channel: pr!music help (temporarily disabled)
- Delete Message Logs (Logs content of messages when they are deleted.): pr!ss setdeletelogs true/false [MOD]
- Suggestions (suggest improvements to a server democratically): pr!suggest (your suggestion here)
- Role Management (assign or unassign roles to members): 'pr!assign help' and 'pr!unassign help' [MOD]
- Channel Creation (create text or voice channels with special customisations): pr!create help [MOD]
- Link to All Features Webpage: pr!cmdlist
- Get the Weather for any location: pr!weather (location name)
- Destroy server completely by deleting all channels and roles: pr!destroy [OWNER ONLY]
- Find out more about a role: pr!rinfo (name of role, with spaces replaced with % sign)
- Make reactive lists for people to participate in events: pr!rl help [MOD]
Commands tagged with [MOD] or [SPECIAL PERMISSIONS] work only if you are a moderator or if you have specific permissions.