ADZTBotV2

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: GPL-3.0 Imports: 12 Imported by: 0

README ยถ

ADZTBotV2

Go Container Latest release

A little discord bot with a small footprint and easy to use to share music and video with your friends on your discord server

ADZTBotV2 is the successor of ADZTBot. It has been rewritten in go to make it much faster, easier to deploy, easier to maintain...

๐Ÿš€ Key Features

  • Share music or video with your friends and vote for the post you like
  • Support Slash Commands

๐Ÿ“– Usage

To use the bot you just need to type / in the message box in discord and the bot command auto-completion will start, pretty easy right ?!

img.png

๐Ÿ’พ Installation

๐Ÿน Go Binary
  1. Download the binary from the release page

  2. Execute the command with the following flags (this flags can be get running the executable with the -help flag)

    -chanm #Discord channel id where the post of the music category will be sent to
    
    -chanv #Discord channel id where the post of the video category will be sent to
    
    -db #The mongodb database name
    
    -token #Bot access token
    
    -url #The mongodb access url
    
    -admin #The bot administrator discord role ID
    
    -debug #Sets log level to debug
    
    
  3. And that's it

๐Ÿ“ฆ Container (Docker, Podman...)
1. ๐Ÿ’พ Installation

There is 2 way to install ADZTBotV2 using container

  1. Downloading It, You can download the prebuilt container with the container manager you want, currently only linux container are built, for more information see the package page

    podman pull ghcr.io/darkonion0/adztbotv2:THE_VERSION_YOU_WANT
    

    โš ๏ธ The latest tag follow the master branch so it may be unstable or just not-working, USE IT AT YOUR OWNN RISKSโš ๏ธ

  2. Building it,

    You can build ADZTBotV2 using any OCI container builder you want that support Dockerfile. The official and currently only supported methods is Buildah but you can also build it with Docker.

    To build ADZTBotV2 using buildah execute the following command

     buildah bud -t adztbotv2-local .
    
2. โœจ Running

Execute the following command and replace the env variables value by your own (you can also run the container with docker by the way)

podman run -dt -e DB=$db -e URL=$url -e CHANM=$chanm -e CHANV=$chanv -e TOKEN=$token -e ADMIN=$admin -e DEBUG=$debug adztbotv2 ghcr.io/darkonion0/adztbotv2:latest
๐ŸŒ‰ Supported Container Platform
  • linux/amd64
  • linux/386
  • linux/arm64
  • linux/arm
  • โœจ More coming soon...โœจ

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

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