Giter VIP home page Giter VIP logo

lock-move-channel's Introduction

lock-move-channel

Detects and undoes Discord channel moves.

Requirements

  • Native Node.js or Docker
  • Vaild Discord bot & token

Features

  • You can lock down channel reordering on multiple Discord servers with just one application running.
  • If you want to sort intentionally, you can temporarily unlock.
  • Can create and delete channels even when locked
  • Works with Docker Compose

Installation

Works in Node.js or Docker Compose environment.

Docker Compose (Recommended)

If you want to use Docker Compose, write the following in compose.yaml:

services:
  app:
    image: ghcr.io/tomacheese/lock-move-channel
    volumes:
      - type: bind
        source: ./data
        target: /data/
    init: true
    restart: always

You can then refer to the configuration section to create a configuration file and then launch it with docker compose up -d.

Native Node.js

If you are running in a Node.js environment, Node.js v20 is recommended.

Download and extract lock-move-channel_vX.Y.Z.zip from the release page in the latest release.
After that, you can start it with node index.js after creating a configuration file with reference to Configuration section.

Configuration

The configuration file data/config.json is used by default.
If the environment variable CONFIG_FILE or CONFIG_PATH is set, the specified value is taken as the path to the configuration file.

See here for the JSON Schema of the configuration file: schema/Configuration.json

{
  "$schema": "https://raw.githubusercontent.com/tomacheese/lock-move-channel/master/schema/Configuration.json"
}

License

The license for this project is MIT License.

lock-move-channel's People

Contributors

renovate[bot] avatar renovate-bot avatar book000 avatar

Stargazers

Uzielnrtec avatar

Watchers

Kostas Georgiou avatar  avatar

lock-move-channel's Issues

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.