Giter Club home page Giter Club logo

thumbnailer_discord_docker's Introduction

機能

特定の拡張子のファイルをアップロードを検出すると、ファイルの内容を画像化し、スレッドで返信するDiscord BOTです。 このリポジトリはご本家様 @Huyu2239のコードを元に、docker composeで動作するように改変したものです。

対応拡張子

  • .pdf
  • .xls
  • .xlsx
  • .doc
  • .docs
  • .ppt

使用方法

必要環境

  • docker, docker-composeコマンドが実行できる環境

インストール

  1. DiscordのBotを作成し、トークンを取得する。
  2. token_install.shを実行し、取得したトークンを入力する。Windows環境の場合は.envを作成し、DISCORD_TOKEN=[INPUT_YOUR_TOKEN_HERE]のような内容で取得したトークンを記述する。
  3. docker compose up -dを実行する。
  4. お好きなサーバーにBOTを招待する。

その他

Discord BOTの必要権限

  • Read Message History
  • Send Messages
  • Create Public Threads
  • Send Messages in Threads
  • Attach Files

thumbnailer_discord_docker's People

Contributors

k-velorum avatar

Watchers

 avatar

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.