# README
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 commandbuildah 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...✨