mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 18: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:
|
||||
- { }
|
@@ -1101,5 +1101,14 @@
|
||||
"honeypot_on": "Honeypot enabled on this channel." ,
|
||||
"honeypot_off": "Honeypot disabled.",
|
||||
"afk_set": "AFK message set. Type a message in any channel to clear.",
|
||||
"rero_message_not_found": "The specified message wasn't found. Make sure you've specified the message from this channel."
|
||||
"rero_message_not_found": "The specified message wasn't found. Make sure you've specified the message from this channel.",
|
||||
"nc_pixel_not_found": "Pixel not found",
|
||||
"nc_pixel": "Pixel {0}",
|
||||
"nc_position": "Position",
|
||||
"nc_pixel_set": "Pixel {0} successfully set!",
|
||||
"invalid_color": "Color you've specified is invalid.",
|
||||
"nc_pixel_set_confirm": "Are you sure you want to set pixel {0}? It will cost you {1}",
|
||||
"nc_hint": "Use `{0}nczoom x y` command to zoom in. Image is {1}x{2} pixels.",
|
||||
"invalid_img_size": "Image must to be {0}x{1} pixels.",
|
||||
"no_attach_found": "No attachment found. Please send the image along with this command."
|
||||
}
|
||||
|
Reference in New Issue
Block a user