/Sokobot

Sokobot is a Discord bot written with discord.py that lets you play Sokoban, the classic box-pushing puzzle game.

Primary LanguagePythonMIT LicenseMIT


Sokobot is a Discord bot written with discord.py that lets you play Sokoban, the classic box-pushing puzzle game.
Version

Installation    |    Usage    |    Contributing

Installation

Windows

# clone the repo
$ git clone https://github.com/Commander07/sokobot.git

# change the working directory to sokobot
$ cd sokobot

# create and activate python environment
$ python3 -m venv bot-env
$ bot-env\Scripts\activate.bat

# install the requirements
$ python3 -m pip install -r requirements.txt

Linux

# clone the repo
$ git clone https://github.com/Commander07/sokobot.git

# change the working directory to sokobot
$ cd sokobot

# create and activate python environment
$ python3 -m venv bot-env
$ source bot-env/bin/activate

# install the requirements
$ python3 -m pip install -r requirements.txt

Usage

Windows

# create a .env file and add your bot token as the variable TOKEN
$ notepad .env

# start bot
$ python bot.py

Linux

# create a .env file and add your bot token as the variable TOKEN
$ nano .env

# start bot
$ python bot.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Feel free to create a fork and use the code.