diff --git a/README.md b/README.md index f808c9b0..ada6d04f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,242 @@ -# `royalpack` [![PyPI](https://img.shields.io/pypi/v/royalpack.svg)](https://pypi.org/project/royalpack/) + + +# `royalnet.backpack` + +A Pack that is imported by default by all Royalnet instances. + +Keep things here to a minimum! + +## Commands + +### `version` + +Display the current Royalnet version. + +### `exception` + +Raise an exception in the command. + +### `excevent` + +Call an event that raises an exception. + +## Events + +### `exception` + +## Page Stars + +### `/api/royalnet/version` + +## Exception Stars + +## Tables + +### `telegram` + +### `discord` + +### `users` + +# `royalpack` + +## Commands + +### `ciaoruozi` + +Saluta Ruozi, un leggendario essere che una volta era in User Games. + +### `color` + +Invia un colore in chat...? + +### `cv` + +Elenca le persone attualmente connesse alla chat vocale. + +### `diario` + +Aggiungi una citazione al Diario. + +### `rage` + +Arrabbiati per qualcosa, come una software house californiana. + +> Aliases: `balurage` `madden` + +### `reminder` + +Ti ricorda di fare qualcosa dopo un po' di tempo. + +> Aliases: `calendar` + +### `ship` + +Crea una ship tra due nomi. + +### `smecds` + +Secondo me, è colpa dello stagista... + +> Aliases: `secondomeecolpadellostagista` + +### `videochannel` + +Converti il canale vocale in un canale video. + +> Aliases: `golive` `live` `video` + +### `pause` + +Metti in pausa o riprendi la riproduzione di un file. + +> Aliases: `resume` + +### `play` + +Aggiunge un url alla coda della chat vocale. + +> Aliases: `p` + +### `queue` + +Visualizza la coda di riproduzione attuale.. + +> Aliases: `q` + +### `skip` + +Salta il file attualmente in riproduzione. + +> Aliases: `s` + +### `summon` + +Evoca il bot in un canale vocale. + +> Aliases: `cv` + +### `youtube` + +Cerca un video su YouTube e lo aggiunge alla coda della chat vocale. + +> Aliases: `yt` + +### `soundcloud` + +Cerca un video su SoundCloud e lo aggiunge alla coda della chat vocale. + +> Aliases: `sc` + +### `emojify` + +Converti un messaggio in emoji. + +### `leagueoflegends` + +Connetti un account di League of Legends a un account Royalnet, e visualizzane le statistiche. + +> Aliases: `lol` `league` + +### `diarioquote` + +Cita una riga del diario. + +> Aliases: `dq` `quote` `dquote` + +### `peertube` + +Guarda quando è uscito l'ultimo video su RoyalTube. + +### `googlevideo` + +Cerca un video su Google Video e lo aggiunge alla coda della chat vocale. + +> Aliases: `gv` + +### `yahoovideo` + +Cerca un video su Yahoo Video e lo aggiunge alla coda della chat vocale. + +> Aliases: `yv` + +### `userinfo` + +Visualizza informazioni su un utente. + +> Aliases: `uinfo` `ui` `useri` + +### `spell` + +Genera casualmente una spell! + +### `ahnonlosoio` + +Ah, non lo so io! + +### `eat` + +Mangia qualcosa! + +### `pmots` + +Confondi Proto! + +## Events + +### `discord_cv` + +### `discord_summon` + +### `discord_play` + +### `discord_skip` + +### `discord_queue` + +### `discord_pause` + +## Page Stars + +### `/api/user/list` + +### `/api/user/get/{uid_str}` + +### `/api/diario/list` + +### `/api/diario/get/{diario_id}` + +## Exception Stars + +## Tables + +### `diario` + +### `aliases` + +### `wikipages` + +Wiki page properties. + + Warning: + Requires PostgreSQL! + +### `wikirevisions` + +A wiki page revision. + + Warning: + Requires PostgreSQL! + +### `bios` + +### `reminder` + +### `triviascores` + +### `mmevents` + +### `mmresponse` + +### `leagueoflegends` -The Royalnet Pack used in the Royal Games community! diff --git a/poetry.lock b/poetry.lock index 5dac66a5..14d8f8eb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -79,8 +79,8 @@ description = "Cross-platform colored terminal text." marker = "sys_platform == \"win32\"" name = "colorama" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -version = "0.4.1" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +version = "0.4.3" [[package]] category = "main" @@ -291,7 +291,7 @@ description = "Alternative regular expression module, to replace re." name = "regex" optional = false python-versions = "*" -version = "2019.11.1" +version = "2019.12.9" [[package]] category = "main" @@ -331,7 +331,7 @@ description = "A multipurpose bot and web framework" name = "royalnet" optional = false python-versions = ">=3.8,<4.0" -version = "5.1.4" +version = "5.1.6" [package.dependencies] dateparser = ">=0.7.2,<0.8.0" @@ -582,7 +582,7 @@ python-versions = "*" version = "2019.11.28" [metadata] -content-hash = "913ce23bef8ae3f5a81bc1a84311e2a8a956e0aa638040e6e10b189e9fa3bf93" +content-hash = "131063cd0294061fef5c403e5c71281f0ca7109576fedfcbbc15540b6a3ac1f9" python-versions = "^3.8" [metadata.files] @@ -666,8 +666,8 @@ click = [ {file = "Click-7.0.tar.gz", hash = "sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7"}, ] colorama = [ - {file = "colorama-0.4.1-py2.py3-none-any.whl", hash = "sha256:f8ac84de7840f5b9c4e3347b3c1eaa50f7e49c2b07596221daec5edaabbd7c48"}, - {file = "colorama-0.4.1.tar.gz", hash = "sha256:05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d"}, + {file = "colorama-0.4.3-py2.py3-none-any.whl", hash = "sha256:7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff"}, + {file = "colorama-0.4.3.tar.gz", hash = "sha256:e96da0d330793e2cb9485e9ddfd918d456036c7149416295932478192f4436a1"}, ] coloredlogs = [ {file = "coloredlogs-10.0-py2.py3-none-any.whl", hash = "sha256:34fad2e342d5a559c31b6c889e8d14f97cb62c47d9a2ae7b5ed14ea10a79eff8"}, @@ -822,19 +822,17 @@ pytz = [ {file = "pytz-2019.3.tar.gz", hash = "sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"}, ] regex = [ - {file = "regex-2019.11.1-cp27-none-win32.whl", hash = "sha256:604dc563a02a74d70ae1f55208ddc9bfb6d9f470f6d1a5054c4bd5ae58744ab1"}, - {file = "regex-2019.11.1-cp27-none-win_amd64.whl", hash = "sha256:5e00f65cc507d13ab4dfa92c1232d004fa202c1d43a32a13940ab8a5afe2fb96"}, - {file = "regex-2019.11.1-cp35-none-win32.whl", hash = "sha256:15454b37c5a278f46f7aa2d9339bda450c300617ca2fca6558d05d870245edc7"}, - {file = "regex-2019.11.1-cp35-none-win_amd64.whl", hash = "sha256:d2b302f8cdd82c8f48e9de749d1d17f85ce9a0f082880b9a4859f66b07037dc6"}, - {file = "regex-2019.11.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:b4e0406d822aa4993ac45072a584d57aa4931cf8288b5455bbf30c1d59dbad59"}, - {file = "regex-2019.11.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:7faf534c1841c09d8fefa60ccde7b9903c9b528853ecf41628689793290ca143"}, - {file = "regex-2019.11.1-cp36-none-win32.whl", hash = "sha256:7caf47e4a9ac6ef08cabd3442cc4ca3386db141fb3c8b2a7e202d0470028e910"}, - {file = "regex-2019.11.1-cp36-none-win_amd64.whl", hash = "sha256:e3d8dd0ec0ea280cf89026b0898971f5750a7bd92cb62c51af5a52abd020054a"}, - {file = "regex-2019.11.1-cp37-none-win32.whl", hash = "sha256:c31eaf28c6fe75ea329add0022efeed249e37861c19681960f99bbc7db981fb2"}, - {file = "regex-2019.11.1-cp37-none-win_amd64.whl", hash = "sha256:1ad40708c255943a227e778b022c6497c129ad614bb7a2a2f916e12e8a359ee7"}, - {file = "regex-2019.11.1-cp38-none-win32.whl", hash = "sha256:ec032cbfed59bd5a4b8eab943c310acfaaa81394e14f44454ad5c9eba4f24a74"}, - {file = "regex-2019.11.1-cp38-none-win_amd64.whl", hash = "sha256:c7393597191fc2043c744db021643549061e12abe0b3ff5c429d806de7b93b66"}, - {file = "regex-2019.11.1.tar.gz", hash = "sha256:720e34a539a76a1fedcebe4397290604cc2bdf6f81eca44adb9fb2ea071c0c69"}, + {file = "regex-2019.12.9-cp27-none-win32.whl", hash = "sha256:40b7d1291a56897927e08bb973f8c186c2feb14c7f708bfe7aaee09483e85a20"}, + {file = "regex-2019.12.9-cp27-none-win_amd64.whl", hash = "sha256:c203c9ee755e9656d0af8fab82754d5a664ebaf707b3f883c7eff6a3dd5151cf"}, + {file = "regex-2019.12.9-cp35-none-win32.whl", hash = "sha256:719978a9145d59fc78509ea1d1bb74243f93583ef2a34dcc5623cf8118ae9726"}, + {file = "regex-2019.12.9-cp35-none-win_amd64.whl", hash = "sha256:75cf3796f89f75f83207a5c6a6e14eaf57e0369ef0ffff8e22bf36bbcfa0f1de"}, + {file = "regex-2019.12.9-cp36-none-win32.whl", hash = "sha256:3dbd8333fd2ebd50977ac8747385a73aa1f546eb6b16fcd83d274470fe11f243"}, + {file = "regex-2019.12.9-cp36-none-win_amd64.whl", hash = "sha256:ad9e3c7260809c0d1ded100269f78ea0217c0704f1eaaf40a382008461848b45"}, + {file = "regex-2019.12.9-cp37-none-win32.whl", hash = "sha256:91235c98283d2bddf1a588f0fbc2da8afa37959294bbd18b76297bdf316ba4d6"}, + {file = "regex-2019.12.9-cp37-none-win_amd64.whl", hash = "sha256:aaffd68c4c1ed891366d5c390081f4bf6337595e76a157baf453603d8e53fbcb"}, + {file = "regex-2019.12.9-cp38-none-win32.whl", hash = "sha256:e865bc508e316a3a09d36c8621596e6599a203bc54f1cd41020a127ccdac468a"}, + {file = "regex-2019.12.9-cp38-none-win_amd64.whl", hash = "sha256:77396cf80be8b2a35db863cca4c1a902d88ceeb183adab328b81184e71a5eafe"}, + {file = "regex-2019.12.9.tar.gz", hash = "sha256:77a3799152951d6d14ae5720ca162c97c64f85d4755da585418eac216b736cad"}, ] requests = [ {file = "requests-2.22.0-py2.py3-none-any.whl", hash = "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31"}, @@ -845,8 +843,8 @@ riotwatcher = [ {file = "riotwatcher-2.7.1.tar.gz", hash = "sha256:5349271c7e00637b7619491a6070e66603705db60558ea2a690e7016f6e6d9a4"}, ] royalnet = [ - {file = "royalnet-5.1.4-py3-none-any.whl", hash = "sha256:6d2a9d244b9ac3f907a7f4b63e2aa192c560bb63f9abb1426647ddbabb2498a0"}, - {file = "royalnet-5.1.4.tar.gz", hash = "sha256:439f80b1efc12b6d7c38286d544c04aefb0d43b05a8fe7c7e17c84f7237382f4"}, + {file = "royalnet-5.1.6-py3-none-any.whl", hash = "sha256:4d64607fafbd94b82e8de47f9e0c83ae60d0558c682850d05a4e90ce0f9e9081"}, + {file = "royalnet-5.1.6.tar.gz", hash = "sha256:bfdbf55895162dd0ef7cd18f4260e1574f0e5569cef9fc3d069338c71f52e18d"}, ] royalspells = [ {file = "royalspells-3.2.tar.gz", hash = "sha256:2bd4a9a66514532e35c02c3907425af48c7cb292364c4843c795719a82b25dfe"}, diff --git a/pyproject.toml b/pyproject.toml index a1d0bb3a..ac838f62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ riotwatcher = "^2.7.1" royalspells = "^3.2" - royalnet = {version = "^5.1.4", extras = ["telegram", "discord", "alchemy_easy", "bard", "constellation", "sentry", "herald", "coloredlogs"]} + royalnet = {version = "^5.1.6", extras = ["telegram", "discord", "alchemy_easy", "bard", "constellation", "sentry", "herald", "coloredlogs"]} # Development dependencies [tool.poetry.dev-dependencies] diff --git a/royalpack/commands/ship.py b/royalpack/commands/ship.py index cce37a1b..ec681438 100644 --- a/royalpack/commands/ship.py +++ b/royalpack/commands/ship.py @@ -5,8 +5,6 @@ from royalnet.commands import * class ShipCommand(Command): name: str = "ship" - aliases = ["⛵ï¸"] - description: str = "Crea una ship tra due nomi." syntax = "{nomeuno} {nomedue}"