cavoq / netcord

Perform network operations through this Discord Bot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netcord

Discord bot to perform network operations through discord.

license version

Supported commands

  • !ping host Ping a host
  • !traceroute host Trace a host
  • !dig host Get DNS information about a host
  • !nslookup host Get DNS information about a host
  • !locate host Get a map of the approximate location of a host
  • !sslcert host Get ssl certificate information about a host

Setup

Create a file called .env and fill it with the following information:

CONFIG_FILE=config.json
DISCORD_TOKEN=<YOUR_DISCORD_TOKEN>

Usage

See make help

#### netcord v1.1.0 ####

Available targets:

docker-build                   Build docker image
docker-lint                    Run linting inside Docker container
docker-remove                  Remove docker container
docker-run                     Run discord bot inside docker container
docker-sh                      Shell into docker container
docker-test                    Run tests inside Docker container
help                           Get help for Makefile
install-dev                    Install requirements for development
install                        Install requirements locally
lint                           Run linter
run                            Run discord bot locally
test                           Run tests

Deployment

The easiest way is to deploy on https://console.qovery.com.

You can also deploy on your own server by running the following commands:

make build && make run

About

Perform network operations through this Discord Bot.

License:MIT License


Languages

Language:Python 89.6%Language:Makefile 7.8%Language:Dockerfile 2.7%