Skip to content

Two-player Discord Game Bot using Discord.js. Database with MongoDB.

License

Notifications You must be signed in to change notification settings

i-aryan/guessgame-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

guessgame-discord-bot

A Simple two-player Discord Game Bot made using Discord.js. Uses MongoDB for storing user stats.

What is?

Invite your friends for a guessing challenge. Take turns guessing a random number between a given range (depends on mode). Allows you to play multiple games on different channels. Simple but fun!

Installation

Install the required dependencies using

npm install

Create the '.env' file in the same folder and add your DISCORDJS_BOT_TOKEN there.

Don't forget to make appropriate changes to the mongoose connection query.

Commands?

To see all the available commands on Discord

!gg help

To invite a user for a challenge

Available Modes: Easy/Medium/Hard

!gg invite <mention user> <mode>

To accept an invitation use,

!gg accept <invite code> 

Guess a number using,

!gg guess <number>

Check someone's cumulative stats with

!gg stats <user> 

About

Two-player Discord Game Bot using Discord.js. Database with MongoDB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published