Sign inSign up

knniff/autothreader

By knniff

•Updated almost 4 years ago

See https://github.com/Info-Bonn/autothreader

Image
0

1.2K

knniff/autothreader repository overview

⁠auto-threader

A bot that automatically opens a new thread for every message in a channel.

⁠Installation and Usage

⁠Installation
⁠The needed environment variables are
  • TOKEN: this is the bot-token that you copy from the discord developer-portal
  • CLIENTID: the id of the created bot, right-click on the bot in discord with developer mode enabled and then press "Copy ID"
  • GUILDID: if you want your commands to only be valid on a specific server then copy the put the id here, right-click on the server in discord with developer mode enabled and then press "Copy ID", if not present then the commands will work everywhere
  • DBCONNECT: the connection string for your mongodb instance

After that execute the deploy-commands.js⁠ script with node directly inside of the docker-container with "docker exec -it mycontainer node /usr/src/app/src/deploy-commands.js".

⁠Usage
  • /enable

    enables autothreading in the channel where the command is used

  • /disable

    disables autothreading in the channel where the command is used

  • /listchannels

    lists all autothreading channels on the server

⁠Requirements

  • a standard mongodb instance
  • run deploy-commands.js once
  • a registered discord application

Made by Knniff⁠ under the MIT-License.

Tag summary

Content type

Image

Digest

sha256:7bad00461…

Size

365.6 MB

Last updated

almost 4 years ago

docker pull knniff/autothreader