ADZTBotV2
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 ?!
๐พ Installation
๐น Go Binary
-
Download the binary from the release page
-
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
-
And that's it
๐ฆ Container (Docker, Podman...)
1. ๐พ Installation
There is 2 way to install ADZTBotV2
using container
-
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โ ๏ธ
-
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
linux/amd64
linux/386
linux/arm64
linux/arm
- โจ More coming soon...โจ