command
module
Version:
v0.0.0-...-18803ca
Opens a new window with list of versions in this module.
Published: Nov 10, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
discord-x-link-replacer
English version is below.
X(旧Twitter)のリンクを含んだメッセージに対して,Discord上で埋め込み表示可能なURLをリプライで返すBotです.
使い方
-
Discord Developer PortalからBotを作成し,トークンを取得してください.
-
compose.sample.ymlを参考に,compose.yml
を作成してください.
基本的には,DISCORD_TOKEN
に取得したトークンを設定するだけです.
-
docker compose up -d
を実行してください.
ログにエラーが出力されず,Botがオンラインになれば成功です.
ライセンス
このプロジェクトは,MIT Licenseの下で公開されています.詳細は,LICENSEを参照してください.
This is a bot that replies to messages containing X (formally Twitter) links with a URL that can be embedded on Discord.
Usage
-
Create a bot from the Discord Developer Portal and get the token.
-
Create compose.yml
based on compose.sample.yml.
Basically, just set the token you got to DISCORD_TOKEN
.
-
Run docker compose up -d
.
If no errors are output to the log and the bot is online, it was successful.
License
This project is licensed under the MIT License. See LICENSE for details.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.