Skip to content

Start and stop Docker containers from Discord with channel-level access control. Uses discord.js and dockerode.

License

Notifications You must be signed in to change notification settings

mmjee/multi-container-mgr-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Container Manager Discord Bot

What

This is a discord bot that dynamically starts or stops a container based on discord commands.

How?

git clone --depth 1 https://github.com/the1337guy/container-mgr-discord.git
yarn install
DISCORD_BOT_TOKEN='BOT_TOKEN' DOCKER_CONTAINER_ID='DOCKER_CONTAINER_ID' node index.js
<User> mc start
<Container Manager Discord> @User, Container started.
<User> mc stop
<Container Manager Discord> @User, Container stopped.

The default prefix is mc , it can be changed using the DISCORD_CMD_PREFIX env.

There is an example supervisor program configuration here

About

Start and stop Docker containers from Discord with channel-level access control. Uses discord.js and dockerode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published