discord-x-link-replacer

command module
v0.0.0-...-18803ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 6 Imported by: 0

README

English version is below.

X(旧Twitter)のリンクを含んだメッセージに対して,Discord上で埋め込み表示可能なURLをリプライで返すBotです.

使い方

  1. Discord Developer PortalからBotを作成し,トークンを取得してください.

  2. compose.sample.ymlを参考に,compose.ymlを作成してください.

    基本的には,DISCORD_TOKENに取得したトークンを設定するだけです.

  3. 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

  1. Create a bot from the Discord Developer Portal and get the token.

  2. Create compose.yml based on compose.sample.yml.

    Basically, just set the token you got to DISCORD_TOKEN.

  3. 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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL