Discover Packages
github.com/aqyuki/tubu
command
module
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Aug 30, 2024
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
tubu
tubu は Go で実装された Discord Bot です.
Features
メッセージリンクの展開機能
channelコマンド
dice コマンド
guildコマンド
versionコマンド
メッセージのピン留め機能
Deployment
[!IMPORTANT]
現在,tubu は Docker compose によるホスティングのみを公式にサポートしています.
Docker Compose が導入されていることを確認してください.
以下のようなcompose.ymlを用意します.
services:
bot:
container_name: tubu-bot
image: ghcr.io/aqyuki/tubu:latest
env_file:
- .env
restart: unless-stopped
.envを同一のフォルダに作成します.設定できるオプションについてはOptions を確認してください.
docker compose upで起動できます.
Options
tubu の設定は,環境変数もしくは起動オプションから変更できます.
設定名
概要
環境変数名
フラグ名
既定値
必須
DISCORD_TOKEN
Discord Bot の APi トークンを指定してください
TUBU_DISCORD_TOKEN
token
---
◯
API_TIMEOUT
API のタイムアウトを指定してください
TUBU_TIMEOUT
timeout
10s
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.