Sign inSign up

kuba2k2/espionage-bot

By kuba2k2

Updated 6 months ago

A Discord bot that plays the Nokia Espionage ringtone for any user entering the AFK channel.

Image
0

654

kuba2k2/espionage-bot repository overview

espionage-bot

A Discord bot that plays the Nokia Espionage ringtone for any user entering the AFK channel.

The bot can also be summoned manually using commands in files.json.

Usage

With Docker Compose
$ mkdir -p ~/docker/espionage-bot
$ cd ~/docker/espionage-bot
$ mkdir ./data/
$ wget https://raw.githubusercontent.com/kuba2k2/espionage-bot/master/docker-compose.yml
$ vim docker-compose.yml

Edit the file adding your Discord bot token to BOT_TOKEN=.

Place the espionage.mp3 file in ~/docker/espionage-bot/data (or edit the Compose environment variables accordingly).

Run espionage-bot:

$ docker-compose up --detach
With Docker
$ git clone https://github.com/kuba2k2/espionage-bot
$ cd espionage-bot
$ mkdir ./data/
$ cp .env.example .env
$ vim .env

Edit the file adding your Discord bot token to BOT_TOKEN=.

Place the espionage.mp3 file in the data/ directory.

Build and run the image:

$ docker build --tag espionage-bot .
$ docker run -d -v $(pwd)/data:/app/data --env-file .env espionage-bot

Notes

The bot should at least have the Connect, Speak, Mute Members and Move Members permissions.

To use the MIDI support you should upload at least one SoundFont (.sf2) prior to playing, else weird things may happen.

Tag summary

Content type

Image

Digest

sha256:2cad14d73

Size

104.9 MB

Last updated

6 months ago

docker pull kuba2k2/espionage-bot:latest-timidity