Skip to content

A Discord bot that allows users in the same Discord server to play Connect 4 with each other

Notifications You must be signed in to change notification settings

ConnellHagen/connect-4-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect 4 Bot

About

Connect 4 certainly is one of the games of all time. And now you can play it in your Discord server with your friends using this bot.

The rules are simple:

  1. Players take turns dropping pieces down columns in the game board.

  2. If a player gets 4 of their pieces in a row, they win. If the board fills up with no lines of 4, the game is a draw. Examples:

Usage

Hosting the bot yourself:

Go to the Discord Developer Portal (https://discord.com/developers/applications) and create a new application. Create a bot, and copy its token. Paste the token into the Token = "" quotes in bot.py. Lastly, execute the code with python3 bot.py. If the token is correct, any server that the bot you created is a member of will now have a working connect 4 bot

Adding the official bot to your server (not recommended; going to be offline):

Click the following link, Discord will walk you through hosting my official bot on your server: https://discord.com/api/oauth2/authorize?client_id=1069375140577677323&permissions=274878113856&scope=bot .

Other Information

To get a list of all commands the bot can use, say "!help" in the chat and it will respond with them.

To challenge a player, use "!challenge @[player]" in order to start a game.

About

A Discord bot that allows users in the same Discord server to play Connect 4 with each other

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages