mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Added .nc and related commands.
You can set pixel colors (and text) on a 500x350 canvas, pepega version of r/place You use currency to set pixels. see whole canvas: .nc set pixel: .ncsp <pos> <color> <text?> get pixel: .ncp <pos> zoom: .ncz <pos> or .ncz x y
This commit is contained in:
@@ -4567,4 +4567,70 @@ leaveunkeptservers:
|
||||
- shardId:
|
||||
desc: "Shard id from which to start leaving unkept servers."
|
||||
- delay:
|
||||
desc: "Delay in miliseconds between leaves"
|
||||
desc: "Delay in miliseconds between leaves"
|
||||
ncanvas:
|
||||
desc: |-
|
||||
Shows the current nCanvas.
|
||||
The canvas allows users to set each pixel's color and text using currency.
|
||||
ex:
|
||||
- ''
|
||||
params:
|
||||
- { }
|
||||
nczoom:
|
||||
desc: |-
|
||||
Zooms in on the nCanvas.
|
||||
Bot will show the 10x10 grid with the position of each cell for use with `ncset`.
|
||||
You can either use alphanumeric position (ex. s4u) or pixel x and y (ex. 123 123)
|
||||
ex:
|
||||
- 'sgu'
|
||||
- '123 123'
|
||||
params:
|
||||
- position:
|
||||
desc: "The position of the pixel to set in alphanumeric format."
|
||||
- position:
|
||||
desc: "The position of the pixel to set in pixel x and y format."
|
||||
ncsetpixel:
|
||||
desc: |-
|
||||
Sets a pixel's color and text on the nCanvas.
|
||||
You must specify the position of the pixel to set in alphanumeric format.
|
||||
You can obtain alphanumeric position of the pixel by using `nczoom` or `ncp <x> <y>`
|
||||
ex:
|
||||
- 'sgu #ff0000 Some text'
|
||||
params:
|
||||
- position:
|
||||
desc: "The position of the pixel to set in alphanumeric format."
|
||||
- color:
|
||||
desc: "The color of the pixel to set in HEX."
|
||||
- text:
|
||||
desc: "The optional text to set on the pixel."
|
||||
ncsetimg:
|
||||
desc: |-
|
||||
Attach the image to the message sending the command to overwrite the nCanvas with it.
|
||||
All prices and colors will be reset.
|
||||
The image must be equal to the size of the nCanvas (default is 500x350)
|
||||
This command is dangerous and irreversible.
|
||||
ex:
|
||||
- ''
|
||||
params:
|
||||
- { }
|
||||
ncpixel:
|
||||
desc: |-
|
||||
Shows the pixel at the specified position.
|
||||
You can get pixel positions by using `nczoom`
|
||||
ex:
|
||||
- 'sgu'
|
||||
- '123 123'
|
||||
params:
|
||||
- position:
|
||||
desc: "The position of the pixel to retrieve in alphanumeric format."
|
||||
- position:
|
||||
desc: "The position of the pixel to retrieve in pixel x and y format."
|
||||
ncreset:
|
||||
desc: |-
|
||||
Clears the nCanvas.
|
||||
All prices and colors will be reset.
|
||||
This command is dangerous and irreversible.
|
||||
ex:
|
||||
- ''
|
||||
params:
|
||||
- { }
|
Reference in New Issue
Block a user