Skip to content

neel24/admin-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

105 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Admin Mode

Admin Mode is a Discord bot used for admin management. It can perform moderation as well as role management actions.

You can invite the bot to your server by using this link.

Available commands

These are the commands which are currently available:

.about - Provides a description and some stats of the bot.
Aliases: .info, .stats

.help - DM's the available commands and the usage.
Aliases: .commands

.ping - Returns the bot's latency and API ping.
Aliases: .latency

.repo - Provides the repo url of the bot.
Aliases: .source, .github

.serverinfo - Provides some info about the server.
Aliases: .server, .guild

.userinfo - Provides some info on the specified user.
Aliases: .user
Usage: .user-info @username/member_id

.kick - Kicks a member from the current server.
Usage: .kick @username/member_id

.ban - Bans a member from the current server.
Aliases: .banish
Usage: .ban @username/member_id

.unban - Unbans a member from the current server.
Aliases: .unbanish
Usage: .unban member_id

.mute - Prevents a member from sending messages/adding reactions.
Usage: .mute @username/member_id

.unmute - Allows a member to send messages/add reactions.
Usage: .unmute @username/member_id

.purge - Deletes the number of messages provided.
Aliases: .delete
Usage: .purge [number_of_messages_to_delete]

.addrole - Adds the specified role to a member.
Usage: .add-role @username/member_id <role-name>

.removerole - Removes the specified role from a member.
Usage: .remove-role @username/member_id <role-name>

.lock - Prevents members with the @everyone role from viewing/sending messages in a specific channel.
Usage: .lock [#channel-name/channel_id] <lock-mode>
Lock modes: send, view/read

.unlock - Allows members with the @everyone role to view/send messages in a specific channel.
Usage: .unlock [#channel-name/channel_id] <unlock-mode>
Unlock modes: send, view/read

Running the bot locally

  • Clone the repo with HTTPS/SSH.

  • Make sure to obtain a Discord token, a Giphy API key and have Node.js installed.

  • Add your Discord token and your Giphy API key in the .env.example and rename it to .env.

  • Run npm install in the command line to install the dependencies.

  • Run npm start or node bot.js to run the bot.

Usage

Once the bot has been added to your server, it should be granted with admin priviledges.

About

A Discord bot used for admin management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages