Giter VIP home page Giter VIP logo

discordservermanagementbot's Introduction

DiscordServerManagementBot

Install discord.js from NPM then edit config.js to get started.

Configuration

To configure your Bot you need to change those settings in config.js file.

setting type description
defaultCommandPrefix string prefix for each command
discordClientId string client id of your app (https://discordapp.com/developers/applications/)
discordBotToken string bot token of your app (https://discordapp.com/developers/applications/)
authorizedUsers string[] User ID of the Discord member(s) that are authorized to use this bot. Choose wisely.
showUserUnauthorizedMessage boolean Will show a "user unauthorized to perform this command" when they are not part of the authorizd users. If false, the bot will just ignore them.
showLink boolean Show the link to add the bot to a server. You can probably disable this after first use.

To enable modules add it to exports.modules.

Commands / Modules

help: Display this help dialog

reboot: Reboot the machine using reboot

diskinfo: View disk information using df -H

meminfo: View memory information using free -h

uptime: View current system uptime using reboot

sysinfo: View system information using uname -a

cputype: View CPU type using cat /proc/cpuinfo

ipinfo: Show IP address information using ip addr show

nettest: Perform a ping test (measured in miliseconds) to Europe, the United States and Australia

ping: Test if the bot can read/send messages. Bot should respond with Pong!)

discordservermanagementbot's People

Contributors

jeffresc avatar jonathan-sh avatar lucasrabiec avatar

Stargazers

 avatar

Watchers

 avatar  avatar

discordservermanagementbot's Issues

Fix Travis-CI Syntax Errors

Our Travis-CI Tests hold some syntax errors throughout the project that mostly consist of semi-colons. This task should be relatively easy for beginners as it mostly consists of fixing semicolons at the given locations in the log. Please reply if you’d be interested in working on this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.