Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fuwa Icon

Fuwa

Fuwafuwa 「ふわふわ」 — fluffy, soft, light

Icon illustrated by もちです, referenced from Bocchi the Rock! 🎸



Fuwa

Discord bot for managing your project on a Linux server, originally created for managing a Minecraft server.

This bot allows your team to perform certain actions on the server while preventing them from accessing the server freely.

With this bot you can...

  • Have people access your server without knowing the credentials
  • Manage your screen session
  • Update your code with git command
  • Check server status

Deployment

Warning

You SHOULD NOT host this bot as the root user. Hosting as root can lead to accidental damage to your work or even your server!

  1. Clone this repository into your server
git clone https://github.com/CrazyWichGG/fuwa.git
  1. Install dependencies
npm ci --omit=dev
  1. Configure .env file
TOKEN="" # Your bot token
CLIENT_ID="" # Bot client id for command registration

GUILD_ID="" # Allowed guild to use bot command
CHANNEL_ID="" # Allowed channel to use bot command

GIT_WD="" # Git working directory to use with /git

SCREEN_NAME="" # Screen session name for /server
SERVER_START_CMD="" # Server start command for screen session
SERVER_STOP_CMD="" # Server stop command for screen session
SERVER_RESTART_CMD="" # Server restart command for screen session
  1. Register bot commands
npm register
  1. Start the bot
npm start

All illustrations are credited to もちです and were licensed separately from the code.

About

Discord bot for managing your project on a linux server

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages