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...
- Share music or video with your friends and vote for the post you like
- Support Slash Commands
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 ?!
-
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)-admin string The bot administrator discord role ID (default "0") -chanm string Discord channel id where the post of the music category will be sent to -chanv string Discord channel id where the post of the video category will be sent to -db string The mongodb database name -debug string Sets log level to debug true/(false) (default "false") -guild string Test guild ID. If not passed - bot registers commands.Commands globally -timer int Set a custom timer scheduled for all the background tasks of the bot, run every [X] nanoseconds (default 3600000000000) -token string Bot access token -url string The mongodb access url
-
And that's it
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
⚠️ Thelatest
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 .
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 -e TIMER=$timer adztbotv2 ghcr.io/darkonion0/adztbotv2:latest
linux/amd64
linux/386
linux/arm64
linux/arm
- ✨ More coming soon...✨