Skip to main content
Back to Projects
Discord BotMarch 3, 20261 min read

Spooky Saturday Discord Bot

A Discord bot that allows the members of a server to vote on a game they want to play for Spooky Saturday. Built using python, discord-py, and docker

DiscordDockerPythonDiscord.py
Screenshot of Spooky Saturday Discord Bot

Overview

The Spooky Saturday Discord bot allows members of a discord server to vote on which game they want to play for the coming weekly Spooky Saturday event. To vote, members react to the poll message with the emote that corresponds to the game of their choosing. Then once a certain day is reached, the bot sums up each emote and determines a winner.

Tech Stack

  • Language: Python
  • Framework: Discord-py
  • Storage: JSON
  • Deployment: Self-hosted Docker container

Key Features

  • Automatically tallies up the votes on the specified day
  • Prefills the reactions with the corresponding emotes of each game
  • Built as a docker container for easy deployment
  • Saves poll data in the case of a crash

Lessons Learned

The Discord Bot currently uses asyncio.sleep to wait for the day to automatically tally up the votes which may not be an elegant solution and could be refactored in the future. The list of choices are currently hard coded into the bot which is only useful while being used in one server and not multiple different ones.

Screenshots