.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:
Toastie 2024-10-29 12:44:28 +13:00
parent 448624e543
commit 7cd0026c3e
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
22 changed files with 7955 additions and 86 deletions
src/EllieBot/data

View file

@ -383,7 +383,7 @@
"Aliases": [
".keep"
],
"Description": "The current serve, won't be deleted from Ellie's database during the purge.",
"Description": "The current server, won't be deleted from Ellie's database during the purge.",
"Usage": [
".keep"
],
@ -394,6 +394,21 @@
"Administrator Server Permission"
]
},
{
"Aliases": [
".leaveunkeptservers"
],
"Description": "Leaves all servers whose owners didn't run .keep",
"Usage": [
".leaveunkeptservers"
],
"Submodule": "CleanupCommands",
"Module": "Administration",
"Options": null,
"Requirements": [
"Bot Owner Only"
]
},
{
"Aliases": [
".sqlselect"
@ -586,13 +601,11 @@
},
{
"Aliases": [
".greetdel",
".grdel"
".greet"
],
"Description": "Sets the time it takes (in seconds) for greet messages to be auto-deleted. Set it to `0` to disable automatic deletion.",
"Description": "Toggles announcements on the current channel when someone joins the server.",
"Usage": [
".greetdel 0",
".greetdel 30"
".greet"
],
"Submodule": "GreetCommands",
"Module": "Administration",
@ -603,11 +616,13 @@
},
{
"Aliases": [
".greet"
".greetdel",
".grdel"
],
"Description": "Toggles announcements on the current channel when someone joins the server.",
"Description": "Sets the time it takes (in seconds) for greet messages to be auto-deleted. Set it to `0` to disable automatic deletion.",
"Usage": [
".greet"
".greetdel 0",
".greetdel 30"
],
"Submodule": "GreetCommands",
"Module": "Administration",
@ -676,21 +691,6 @@
"ManageServer Server Permission"
]
},
{
"Aliases": [
".byemsg"
],
"Description": "Sets a new leave announcement message which will be shown in the current channel. \nUsing this command with no message will show the current bye message. \nSupports [placeholders](https://docs.elliebot.net/ellie/features/placeholders/) and [embeds](https://eb.elliebot.net/)",
"Usage": [
".byemsg %user.name% has left."
],
"Submodule": "GreetCommands",
"Module": "Administration",
"Options": null,
"Requirements": [
"ManageServer Server Permission"
]
},
{
"Aliases": [
".byedel"
@ -709,12 +709,11 @@
},
{
"Aliases": [
".byetest"
".byemsg"
],
"Description": "Sends the bye message in the current channel as if you just left the server. You can optionally specify a different user.",
"Description": "Sets a new leave announcement message which will be shown in the current channel. \nUsing this command with no message will show the current bye message. \nSupports [placeholders](https://docs.elliebot.net/ellie/features/placeholders/) and [embeds](https://eb.elliebot.net/)",
"Usage": [
".byetest",
".byetest @SomeoneElse"
".byemsg %user.name% has left."
],
"Submodule": "GreetCommands",
"Module": "Administration",
@ -755,6 +754,22 @@
"ManageServer Server Permission"
]
},
{
"Aliases": [
".byetest"
],
"Description": "Sends the bye message in the current channel as if you just left the server. You can optionally specify a different user.",
"Usage": [
".byetest",
".byetest @SomeoneElse"
],
"Submodule": "GreetCommands",
"Module": "Administration",
"Options": null,
"Requirements": [
"ManageServer Server Permission"
]
},
{
"Aliases": [
".boosttest"
@ -1090,7 +1105,7 @@
"Aliases": [
".antialt"
],
"Description": "Applies a punishment action to any user whose account is younger than the specified threshold. Specify time after the punishment to have a timed punishment (not all punishments support timers).",
"Description": "Applies a punishment action to any user whose account is younger than the specified threshold. \nAvailable Punishments are: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, RemoveRoles, AddRole, Warn, TimeOut\nYou can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h.\nMax message count is 10.\nProvide no parameters to disable.",
"Usage": [
".antialt 1h Ban",
".antialt 3d Mute 1h"
@ -1106,7 +1121,7 @@
"Aliases": [
".antiraid"
],
"Description": "Sets an anti-raid protection on the server. Provide no parameters to disable. First parameter is number of people which will trigger the protection. Second parameter is a time interval in which that number of people needs to join in order to trigger the protection, and third parameter is punishment for those people. You can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h. Available punishments: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, RemoveRoles, AddRole, Warn, TimeOut",
"Description": "Sets an anti-raid protection on the server.\n\nFirst parameter is number of people which will trigger the protection.\n\nSecond parameter is a time interval in which that number of people needs to join in order to trigger the protection.\n\nThird parameter is punishment for those people.\nAvailable punishments: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, RemoveRoles, AddRole, Warn, TimeOut\nYou can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h.\n\nProvide no parameters to disable.",
"Usage": [
".antiraid 5 20 Kick",
".antiraid 7 9 Ban",
@ -1124,7 +1139,7 @@
"Aliases": [
".antispam"
],
"Description": "Stops people from repeating same message X times in a row. Provide no parameters to disable. You can specify to either mute, kick or ban the offenders. You can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h. Max message count is 10. Available punishments: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, AddRole, RemoveRoles, Warn, TimeOut",
"Description": "Applies a Punishment to people who repeat the same message X times in a row.\nAvailable Punishments are: Ban, Kick, Softban, Mute, VoiceMute, ChatMute, RemoveRoles, AddRole, Warn, TimeOut\nYou can specify an additional time argument to do a timed punishment for actions which support it (Ban, Mute, etc) up to 24h.\nMax message count is 10. \nProvide no parameters to disable.",
"Usage": [
".antispam 3 Mute",
".antispam 5 Ban",
@ -1939,13 +1954,14 @@
},
{
"Aliases": [
".setactivity",
".setgame"
],
"Description": "Sets the bots game status to either Playing, Listening, or Watching.",
"Description": "Sets the bots game status to a Custom, Playing, Listening, or Watching status.",
"Usage": [
".setgame Playing with snakes.",
".setgame Watching anime.",
".setgame Listening music."
".setactivity Just chilling",
".setactivity Playing with canaries",
".setactivity Listening music"
],
"Submodule": "SelfCommands",
"Module": "Administration",
@ -3674,7 +3690,7 @@
"Aliases": [
".choose"
],
"Description": "Chooses a thing from a list of things",
"Description": "Chooses a thing from a list of things. Separate items with a semicolon ;",
"Usage": [
".choose Get up;Sleep;Sleep more"
],
@ -3772,6 +3788,98 @@
"Options": null,
"Requirements": []
},
{
"Aliases": [
".ncanvas",
".nc",
".ncanv"
],
"Description": "Shows the current nCanvas.\nThe canvas allows users to set each pixel's color and text using currency.",
"Usage": [
".ncanvas"
],
"Submodule": "NCanvasCommands",
"Module": "Games",
"Options": null,
"Requirements": []
},
{
"Aliases": [
".nczoom",
".ncz"
],
"Description": "Zooms in on the nCanvas.\nBot will show the 10x10 grid with the position of each cell for use with `ncset`.\nYou can either use alphanumeric position (ex. s4u) or pixel x and y (ex. 123 123)",
"Usage": [
".nczoom sgu",
".nczoom 123 123"
],
"Submodule": "NCanvasCommands",
"Module": "Games",
"Options": null,
"Requirements": []
},
{
"Aliases": [
".ncsetpixel",
".ncsp",
".ncs"
],
"Description": "Sets a pixel's color and text on the nCanvas.\nYou must specify the position of the pixel to set in alphanumeric format.\nYou can obtain alphanumeric position of the pixel by using `nczoom` or `ncp <x> <y>`",
"Usage": [
".ncsetpixel sgu #ff0000 Some text"
],
"Submodule": "NCanvasCommands",
"Module": "Games",
"Options": null,
"Requirements": []
},
{
"Aliases": [
".ncpixel",
".ncp",
".ncgp"
],
"Description": "Shows the pixel at the specified position.\nYou can get pixel positions by using `nczoom`",
"Usage": [
".ncpixel sgu",
".ncpixel 123 123"
],
"Submodule": "NCanvasCommands",
"Module": "Games",
"Options": null,
"Requirements": []
},
{
"Aliases": [
".ncsetimg",
".ncsi"
],
"Description": "Attach the image to the message sending the command to overwrite the nCanvas with it.\nAll prices and colors will be reset.\nThe image must be equal to the size of the nCanvas (default is 500x350)\nThis command is dangerous and irreversible.",
"Usage": [
".ncsetimg"
],
"Submodule": "NCanvasCommands",
"Module": "Games",
"Options": null,
"Requirements": [
"Bot Owner Only"
]
},
{
"Aliases": [
".ncreset"
],
"Description": "Clears the nCanvas.\nAll prices and colors will be reset.\nThis command is dangerous and irreversible.",
"Usage": [
".ncreset"
],
"Submodule": "NCanvasCommands",
"Module": "Games",
"Options": null,
"Requirements": [
"Bot Owner Only"
]
},
{
"Aliases": [
".nunchi"
@ -5171,7 +5279,7 @@
],
"Description": "Toggles whether a module can be used on any server.",
"Usage": [
".globalmodule nsfw"
".globalmodule Gambling"
],
"Submodule": "GlobalPermissionCommands",
"Module": "Permissions",
@ -6297,11 +6405,11 @@
},
{
"Aliases": [
".listservers"
".serverlist"
],
"Description": "Lists servers the bot is on with some basic info. 15 per page.",
"Usage": [
".listservers 3"
".serverlist 3"
],
"Submodule": "Utility",
"Module": "Utility",
@ -6719,13 +6827,15 @@
},
{
"Aliases": [
".listquotes",
".liqu"
".quotelist",
".qli",
".quli",
".qulist"
],
"Description": "Lists all quotes on the server ordered alphabetically or by ID. 15 Per page.",
"Usage": [
".listquotes 3",
".listquotes 3 id"
".quotelist 3",
".quotelist 3 id"
],
"Submodule": "QuoteCommands",
"Module": "Utility",
@ -6735,7 +6845,10 @@
{
"Aliases": [
".quoteprint",
"..."
".qp",
".qup",
"...",
".qprint"
],
"Description": "Prints a random quote with a specified name.",
"Usage": [
@ -6749,7 +6862,9 @@
{
"Aliases": [
".quoteshow",
".qshow"
".qsh",
".qshow",
".qushow"
],
"Description": "Shows information about a quote with the specified ID.",
"Usage": [
@ -6763,6 +6878,7 @@
{
"Aliases": [
".quotesearch",
".qse",
".qsearch"
],
"Description": "Shows a random quote given a search query. Partially matches in several ways: 1) Only content of any quote, 2) only by author, 3) keyword and content, 3) or keyword and author",
@ -6782,7 +6898,7 @@
".quoteid",
".qid"
],
"Description": "Displays the quote with the specified ID number. Quote ID numbers can be found by typing `.liqu [num]` where `[num]` is a number of a page which contains 15 quotes.",
"Description": "-| Displays the quote with the specified ID number.",
"Usage": [
".quoteid 123456"
],
@ -6794,6 +6910,9 @@
{
"Aliases": [
".quoteadd",
".qa",
".qadd",
".quadd",
".."
],
"Description": "Adds a new quote with the specified name and message.",
@ -6808,6 +6927,8 @@
{
"Aliases": [
".quoteedit",
".qe",
".que",
".qedit"
],
"Description": "Edits a quote with the specified ID.",
@ -6822,7 +6943,9 @@
{
"Aliases": [
".quotedelete",
".qdel"
".qd",
".qdel",
".qdelete"
],
"Description": "Deletes a quote with the specified ID. You have to either have the Manage Messages permission or be the creator of the quote to delete it.",
"Usage": [
@ -6836,6 +6959,7 @@
{
"Aliases": [
".quotedeleteauthor",
".qda",
".qdelauth"
],
"Description": "Deletes all quotes by the specified author. If the author is not you, then ManageMessage server permission is required.",
@ -6849,13 +6973,13 @@
},
{
"Aliases": [
".delallquotes",
".daq",
".delallq"
".quotesdeleteall",
".qdall",
".qdeleteall"
],
"Description": "Deletes all quotes on a specified keyword.",
"Description": "Deletes all quotes with the specified keyword.",
"Usage": [
".delallquotes kek"
".quotesdeleteall kek"
],
"Submodule": "QuoteCommands",
"Module": "Utility",
@ -6867,6 +6991,7 @@
{
"Aliases": [
".quotesexport",
".qex",
".qexport"
],
"Description": "Exports quotes from the current server into a .yml file",
@ -6883,6 +7008,8 @@
{
"Aliases": [
".quotesimport",
".qim",
".qimp",
".qimport"
],
"Description": "Upload the file or send the raw .yml data with this command to import all quotes from the specified string or file into the current server.",