Skip to content

Discord Bot, currently responds to certain chat messages with gifs and also can play rock paper scissors and Tic Tac Toe with the commands !rps and !ttt respectively.

Notifications You must be signed in to change notification settings

ItsNateBrooks/ThatBaldBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name

ThatBaldBot

Description

Discord Bot, currently responds to certain chat messages with gifs and also can play rock paper scissors and Tic Tac Toe with the commands !rps and !ttt respectively.

Contributors

  • Nathaniel Brooks

Installation

Currently I run the bot on my personal discord servers, but to run it for yourself make a git clone with the command "git clone https://github.com/ItsNateBrooks/ThatBaldBot" then one file will need to be added which is the .env file, basically this contains the needed login info to both the Discord Developer Portal API and the TENOR Gif API. To make the required .env it is incredibly simple, first make a empty file with the .env extension and then format the file similair to the following screenshot:

.env

Save your .env file and make sure it is in the same folder as main.js To run the bot, navigate to the folder containing the main.js folder using command prompt or another text based file explorer and run the command node main.js. NOTE Certain things will need to be installed to run the node command

Usage

Gifs

Any mention of the following words: "boi", "oof", "xqc" or "valheim" will result in the user being replied to with a specific gif

Tic Tac Toe Example

For rock paper scissors simply typing !rps followed by either "rock", "paper" , or "scissors" will result in the bot responding with a random response by the bot of either rock, paper, or scissors followed by a statement that claims who wins or if there is a tie

Rock Paper Scissors

For Tic Tac Toe simply typing !ttt will begin setting up the game, from there users can react to a message sent by the bot to set themselves as either X or O in the game. For the user to select a spot during the game they can simply react to the message containing the game board and then this places either an X or O in the spot they desired. Users will go back and forth until someone wins or if there is a tie.

Example Images

Rock Paper Scissors Example

Rock Paper Scissors

Tic Tac Toe Example

Select Roles

Tic Tac Toe 1

Start TTT

Tic Tac Toe 2

Game End

Tic Tac Toe 3

Oof Example

oof

About

Discord Bot, currently responds to certain chat messages with gifs and also can play rock paper scissors and Tic Tac Toe with the commands !rps and !ttt respectively.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published