tibby

command module
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: AGPL-3.0 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

Tibby

A Discord bot written in Go utilizing the DiscordGo library

Status checks

Quality Gate Status Go Report Card

Documentation

As a user you can read the command documentation here.

If you are a developer or want to use Tibby yourself the rest of this README is for you.

Requirements

  • Ideally a AMD64 or ARM64 Linux/Unix based system but we build a Windows binary (AMD64 only) as well
  • A CDN (content delivery network) for images
  • An API key for Microsoft Translations API (Cognitive Services)
  • Or an API key for Google Translation API v2

Setup

If you want to run Tibby you can get the latest binary from the releases page

After which you'll need to setup 2 things:

Customization options in customizations/botproperties.json:

{
    "BotName": "Bot Name, for interaction titles and logging",
    "DocsURL": "Documentation URL",
    "CDN": {
        "BaseURL": "CDN Base-URL",
        "Files": {
            "8ball-icon": "/bot/icons/8-ball.png"
        }
    }
}

Credentials in .env (can be overridden with environment variables)

WB_DC_TOKEN="your-discord-bot-token"
WB_MS_TRANSLATE_KEY="microsoft-translation-api-key"
WB_MS_TRANSLATE_REGION="microsoft-translations-api-region"
GOOGLE_API_KEY="google-translations-api-key"

License

Tibby, a Discord bot.
Copyright (C) 2024  Dylan Maassen van den Brink and Tibby contributors.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>

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