d/place is a recreation of r/place in discord. This is my first discord bot so it might have errors and it can be bad.
- Create a file called
token.json, and then add to it this:
{
"token": "YOUR BOT TOKEN"
}
pip install -r requirements.txtpython main.py
-
/dplace x y color: Places a pixel on the canvas at the specifiedxandycoordinates. The color can be specified in three formats:- Hex color
- RGB
- Color names:
red,green,blue,yellow,cyan,magenta,white,black,orange,purple,pink,grayorgold
-
/info: Displays the time left and the leaderboard -
/canvas: Sends an image of the current canvas