Skip to content

AndrewAlbizati/blackjack-discord-bot

Repository files navigation

Blackjack Discord Bot

This bot allows users to play Blackjack online through Discord. This bot was written in Java 17 using IntelliJ IDEA and is designed to be used on small Discord servers.

Setup

  1. Add a file titled config.properties into the folder.
  2. Add the following to the file (replace {Discord bot token} with your bot's token)
token={Discord bot token}
  1. If on Windows:

    1. gradlew build
    2. move build\libs\blackjackbot-1.0.0.jar .
    3. java -jar blackjackbot-1.0.0.jar
  2. If on macOS/Linux

    1. chmod +x gradlew
    2. ./gradlew build
    3. mv build/libs/blackjackbot-1.0.0.jar .
    4. java -jar blackjackbot-1.0.0.jar

How to Play

To play Blackjack with the bot, type /blackjack <bet> in any channel that the bot is allowed to read and send messages. Type /help for help on how to play Blackjack as well as strategy help.

Dependencies

About

A Discord bot that allows users to play Blackjack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages