Medusa System Added

Read about the medusa system [here](https://nadekobot.readthedocs.io/en/latest/medusa/creating-a-medusa/)
This commit is contained in:
Kwoth
2022-04-16 12:44:46 +00:00
parent 3a516ab32a
commit 7cb15f5278
103 changed files with 3363 additions and 203 deletions

View File

@@ -1270,4 +1270,16 @@ exprsexport:
deleteemptyservers:
- deleteemptyservers
stock:
- stock
- stock
medusaload:
- medusaload
- meload
medusaunload:
- medusaunload
- meunload
medusalist:
- medusalist
- melist
medusainfo:
- medusainfo
- meinfo

View File

@@ -0,0 +1,5 @@
# DO NOT CHANGE
version: 1
# List of medusae automatically loaded at startup
loaded:
- uwu

View File

@@ -2151,3 +2151,34 @@ deleteemptyservers:
desc: "Deletes all servers in which the bot is the only member."
args:
- ""
medusaload:
desc: |-
Loads a medusa with the specified name from the data/medusae/ folder.
Provide no name to see the list of loadable medusae.
Read about the medusa system [here](https://nadekobot.readthedocs.io/en/latest/medusa/creating-a-medusa/)
args:
- "mycoolmedusa"
- ""
medusaunload:
desc: |-
Unloads the previously loaded medusa.
Provide no name to see the list of unloadable medusae.
Read about the medusa system [here](https://nadekobot.readthedocs.io/en/latest/medusa/creating-a-medusa/)
args:
- "mycoolmedusa"
- ""
medusainfo:
desc: |-
Shows information about the specified medusa such as the author, name, description, list of sneks, number of commands etc.
Provide no name to see the basic information about all loaded medusae.
Read about the medusa system [here](https://nadekobot.readthedocs.io/en/latest/medusa/creating-a-medusa/)
args:
- "mycoolmedusa"
- ""
medusalist:
desc: |-
Lists all loaded and unloaded medusae.
Read about the medusa system [here](https://nadekobot.readthedocs.io/en/latest/medusa/creating-a-medusa/)
args:
- ""

View File

@@ -974,5 +974,21 @@
"deleted_x_servers": "Deleted {0} servers.",
"curtr_gift": "Gift from {0} [{1}]",
"curtr_award": "Awarded by bot owner {0} [{1}]",
"curtr_take": "Taken by bot owner {0} [{1}]"
"curtr_take": "Taken by bot owner {0} [{1}]",
"list_of_medusae": "List of Medusae",
"list_of_unloaded": "List of Available Medusae",
"medusa_name_not_found": "Medusa with that name doesn't exist or isn't loaded.",
"medusa_info": "Medusa Information",
"sneks_count": "Sneks ({0})",
"commands_count": "Commands ({0})",
"no_medusa_loaded": "There are no loaded medusae.",
"no_medusa_available": "No medusa available.",
"loaded_medusae": "Loaded Medusae",
"medusa_not_loaded": "Medusa with that name is not loaded.",
"medusa_possibly_cant_unload": "Medusa is probably not fully unloaded. Please restart the bot if issues arise.",
"medusa_loaded": "Medusa {0} has been loaded.",
"medusa_unloaded": "Medusa {0} has been unloaded.",
"medusa_empty": "Medusa wasn't loaded as it didn't contain any Sneks.",
"medusa_already_loaded": "Medusa {0} is already loaded",
"medusa_invalid_not_found": "Medusa with that name wasn't found or the file was invalid"
}