tubu

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 15 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.

README

tubu

tubu は Go で実装された Discord Bot です.

Features

  • メッセージリンクの展開機能
  • dice コマンド

Deployment

[!IMPORTANT] 現在,tubu は Docker compose によるホスティングのみを公式にサポートしています.

Docker Compose が導入されていることを確認してください.

  1. 以下のようなcompose.ymlを用意します.

    services:
      bot:
        container_name: tubu-bot
        image: ghcr.io/aqyuki/tubu:latest
        env_file:
          - .env
        restart: unless-stopped
    
  2. .envを同一のフォルダに作成します.

    環境変数名 概要 既定値
    TUBU_DISCORD_TOKEN Discord Bot の API トークンを指定してください. ---
    TUBU_API_TIMEOUT API のタイムアウト時間を指定してください. 5s
  3. docker compose upで起動できます.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
packages
metadata
metadata package provides methods to get application metadata.
metadata package provides methods to get application metadata.

Jump to

Keyboard shortcuts

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