Discord Goose Honk Bot

in «Projects» by Plean

If you've ever come in contact with a goose you've 100% heard their distinctive honk. After playing the Untitled Goose Game, I realized that more people need this honk in their life and I could provide that to them in the form of a discord bot.

Pelican

What it does

The discord bot is designed to be an goose that honks at you. It works as follows:

  1. If you type honk in the chat it will honk back in chat

Pelican

  1. If it finds the letters 'h' 'o' 'n' 'k' in any message sent in the server it will honk back in chat

Pelican

  1. If the user who typed the message containing the honk is present in a voice call, the bot will join the call, wait a random period of time, honk at you, and then abruptly leave.

Pelican

How it works

The code is relatively simple and is written in python utilizing the Discord.py python package. I will be posting the code soon once I iron out some kinks that require the private bot key in the codebase (For the docker container). The bot runs asynchronously and is constantly reading the messages waiting to strike. It plays the honk sound utilizing FFMPEG.

Upcoming Features

  1. Other types of honks (Currently there is a special honk that you can find)
  2. Random chance to join and not honk (Spooky Goose)
  3. Private messages with honks
  4. Send honks to people:
  5. Goose will call the person and honk once the call is answered then hang up