# The Midnight Game

This game is ported from Minecraft-France's forum

![](./image-1770246355642.png)

# Goal

The goal is to be the first to click on the button after midnight.

# Setup

To set up the game, run the command `/set-game` with the following arguments : 

- channel: the channel in which the game will run
- timezone: the timezone used to determine when midnight is. The text field is auto-completed, you can use the country, the major city, or the GMT offset to find your preferred timezone
- language: the language of the game. currently only English and French are supported

![](./image-1770246370057.png)

# Rewards

You can reward players for scoring a certain number of time by adding rewards with the `/add-reward` and `/remove-reward commands`. You can specify any number of role to be awarded by attaining a certain number of total wins by that player.

![](./image-1770246395937.png)

![](./image-1770246399186.png)

# Add the bot to your server

https://discord.com/api/oauth2/authorize?client_id=1177774849846943844&scope=bot&permissions=2416036992

# Source code

https://github.com/Seblor/The-Midnight-Game
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9