diff --git a/.gitignore b/.gitignore index fc99c01..d10344d 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,4 @@ target backups dump.sql schema.sql -test +test/screenshots diff --git a/test/commands/chart/best/no_scores/0.toml b/test/commands/chart/best/no_scores/0.toml new file mode 100644 index 0000000..815ff8d --- /dev/null +++ b/test/commands/chart/best/no_scores/0.toml @@ -0,0 +1,4 @@ +reply = true +content = "Could not find any scores for Pentiment [FTR]" +embeds = [] +attachments = [] diff --git a/test/commands/chart/best/pick_correct_score/0.toml b/test/commands/chart/best/pick_correct_score/0.toml new file mode 100644 index 0000000..2960c5c --- /dev/null +++ b/test/commands/chart/best/pick_correct_score/0.toml @@ -0,0 +1,169 @@ +reply = true + +[[embeds]] +title = "Fracture Ray [FTR 11]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://90-9805651-0.png" + +[[embeds.fields]] +name = "Score" +value = "9'805'651" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.33" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'590'304" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.60" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-123/-28/-11)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "556" +inline = true + +[[embeds.fields]] +name = "ID" +value = "1" +inline = true + +[[embeds]] +title = "Antithese [FTR 8+]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://116-9983744-1.png" + +[[embeds.fields]] +name = "Score" +value = "9'983'744" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "10.72" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'920'182" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "10.40" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-27/-1/-1)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "479" +inline = true + +[[embeds.fields]] +name = "ID" +value = "2" +inline = true + +[[embeds]] +title = "Fracture Ray [FTR 11]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://90-9766531-2.png" + +[[embeds.fields]] +name = "Score" +value = "9'766'531" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.19" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'516'810" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.36" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-137/-44/-8)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "616" +inline = true + +[[embeds.fields]] +name = "ID" +value = "3" +inline = true + +[[attachments]] +filename = "90-9805651-0.png" +hash = "sha256_0cc7eb587c87d1749d71e4888b62aa0c8a4bec31b34598f44b539e54498a2644" + +[[attachments]] +filename = "116-9983744-1.png" +hash = "sha256_75b03ac3392d4bcb9d377396a36708aea1298dd463c08d5d62ca1e1414bfeaef" + +[[attachments]] +filename = "90-9766531-2.png" +hash = "sha256_0cc7eb587c87d1749d71e4888b62aa0c8a4bec31b34598f44b539e54498a2644" diff --git a/test/commands/chart/best/pick_correct_score/1.toml b/test/commands/chart/best/pick_correct_score/1.toml new file mode 100644 index 0000000..969aded --- /dev/null +++ b/test/commands/chart/best/pick_correct_score/1.toml @@ -0,0 +1,61 @@ +reply = true + +[[embeds]] +title = "Fracture Ray [FTR 11]" +type = "rich" +timestamp = "1970-01-01T00:00:00Z" + +[embeds.thumbnail] +url = "attachment://90-9805651-0.png" + +[embeds.author] +name = "testinguser" + +[[embeds.fields]] +name = "Score" +value = "9'805'651" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.33" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'590'304" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.60" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-123/-28/-11)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "556" +inline = true + +[[embeds.fields]] +name = "ID" +value = "1" +inline = true + +[[attachments]] +filename = "90-9805651-0.png" +hash = "sha256_0cc7eb587c87d1749d71e4888b62aa0c8a4bec31b34598f44b539e54498a2644" diff --git a/test/commands/chart/info/last_byd/0.toml b/test/commands/chart/info/last_byd/0.toml new file mode 100644 index 0000000..daf7052 --- /dev/null +++ b/test/commands/chart/info/last_byd/0.toml @@ -0,0 +1,52 @@ +reply = true + +[[embeds]] +title = "Last | Moment [BYD 9]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://chart.png" + +[[embeds.fields]] +name = "Note count" +value = "888" +inline = true + +[[embeds.fields]] +name = "Chart constant" +value = "9.6" +inline = true + +[[embeds.fields]] +name = "Total plays" +value = "0" +inline = true + +[[embeds.fields]] +name = "BPM" +value = "175" +inline = true + +[[embeds.fields]] +name = "Side" +value = "silent" +inline = true + +[[embeds.fields]] +name = "Artist" +value = "Last | Moment" +inline = true + +[[embeds.fields]] +name = "Note design" +value = "Arcaea" +inline = true + +[[embeds.fields]] +name = "Pack" +value = "Silent Answer" +inline = true + +[[attachments]] +filename = "chart.png" +hash = "sha256_affdfd1928406a58f0d55dd87dbaafd4bdf3a2a7092bd91395ed991b00b9c7e1" diff --git a/test/commands/chart/info/last_byd/1.toml b/test/commands/chart/info/last_byd/1.toml new file mode 100644 index 0000000..d06b0f3 --- /dev/null +++ b/test/commands/chart/info/last_byd/1.toml @@ -0,0 +1,52 @@ +reply = true + +[[embeds]] +title = "Last | Eternity [BYD 9+]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://chart.png" + +[[embeds.fields]] +name = "Note count" +value = "790" +inline = true + +[[embeds.fields]] +name = "Chart constant" +value = "9.7" +inline = true + +[[embeds.fields]] +name = "Total plays" +value = "0" +inline = true + +[[embeds.fields]] +name = "BPM" +value = "175" +inline = true + +[[embeds.fields]] +name = "Side" +value = "silent" +inline = true + +[[embeds.fields]] +name = "Artist" +value = "Last | Eternity" +inline = true + +[[embeds.fields]] +name = "Note design" +value = "Arcaea" +inline = true + +[[embeds.fields]] +name = "Pack" +value = "Silent Answer" +inline = true + +[[attachments]] +filename = "chart.png" +hash = "sha256_572ebfbc0c4b2c515926cc3de2bcea57deee3352fe58b4574c9408e16cea9463" diff --git a/test/commands/chart/info/no_suffix/0.toml b/test/commands/chart/info/no_suffix/0.toml new file mode 100644 index 0000000..4ee7b3d --- /dev/null +++ b/test/commands/chart/info/no_suffix/0.toml @@ -0,0 +1,52 @@ +reply = true + +[[embeds]] +title = "Pentiment [FTR 10]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://chart.png" + +[[embeds.fields]] +name = "Note count" +value = "1345" +inline = true + +[[embeds.fields]] +name = "Chart constant" +value = "10.3" +inline = true + +[[embeds.fields]] +name = "Total plays" +value = "0" +inline = true + +[[embeds.fields]] +name = "BPM" +value = "200-222" +inline = true + +[[embeds.fields]] +name = "Side" +value = "conflict" +inline = true + +[[embeds.fields]] +name = "Artist" +value = "Pentiment" +inline = true + +[[embeds.fields]] +name = "Note design" +value = "Paradox Blight" +inline = true + +[[embeds.fields]] +name = "Pack" +value = "Final Verdict" +inline = true + +[[attachments]] +filename = "chart.png" +hash = "sha256_5ffda660ce1c6ddd7c60bbb7f34443a7772e608f930768a147e423cc62b7e25d" diff --git a/test/commands/chart/info/specify_difficulty/0.toml b/test/commands/chart/info/specify_difficulty/0.toml new file mode 100644 index 0000000..f3d63c0 --- /dev/null +++ b/test/commands/chart/info/specify_difficulty/0.toml @@ -0,0 +1,52 @@ +reply = true + +[[embeds]] +title = "HELLOHELL [ETR 9]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://chart.png" + +[[embeds.fields]] +name = "Note count" +value = "770" +inline = true + +[[embeds.fields]] +name = "Chart constant" +value = "9.4" +inline = true + +[[embeds.fields]] +name = "Total plays" +value = "0" +inline = true + +[[embeds.fields]] +name = "BPM" +value = "155" +inline = true + +[[embeds.fields]] +name = "Side" +value = "conflict" +inline = true + +[[embeds.fields]] +name = "Artist" +value = "HELLOHELL" +inline = true + +[[embeds.fields]] +name = "Note design" +value = "eién" +inline = true + +[[embeds.fields]] +name = "Pack" +value = "World Extend 3: Illusions" +inline = true + +[[attachments]] +filename = "chart.png" +hash = "sha256_e00a92ba1abbcf97c7b006447867914b9d95dc4dfb039e05260d71128b60eedb" diff --git a/test/commands/score/delete/delete_multiple/0.toml b/test/commands/score/delete/delete_multiple/0.toml new file mode 100644 index 0000000..5e4ab30 --- /dev/null +++ b/test/commands/score/delete/delete_multiple/0.toml @@ -0,0 +1,169 @@ +reply = true + +[[embeds]] +title = "Antithese [FTR 8+]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://116-9983744-0.png" + +[[embeds.fields]] +name = "Score" +value = "9'983'744" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "10.72" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'920'182" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "10.40" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-27/-1/-1)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "479" +inline = true + +[[embeds.fields]] +name = "ID" +value = "1" +inline = true + +[[embeds]] +title = "ALTER EGO [FTR 10]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://416-9926250-1.png" + +[[embeds.fields]] +name = "Score" +value = "9'926'250" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.13" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'693'042" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.14" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-164/-12/-5)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "397" +inline = true + +[[embeds.fields]] +name = "ID" +value = "2" +inline = true + +[[embeds]] +title = "GENOCIDER [FTR 10+]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://243-9724775-2.png" + +[[embeds.fields]] +name = "Score" +value = "9'724'775" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "11.45" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'453'809" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "10.55" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "A" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-180/-40/-21)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "347" +inline = true + +[[embeds.fields]] +name = "ID" +value = "3" +inline = true + +[[attachments]] +filename = "116-9983744-0.png" +hash = "sha256_75b03ac3392d4bcb9d377396a36708aea1298dd463c08d5d62ca1e1414bfeaef" + +[[attachments]] +filename = "416-9926250-1.png" +hash = "sha256_5f1febcdf44bc22bf7ef5bff0cee197a65a221277ebe9615d469002b4324ada3" + +[[attachments]] +filename = "243-9724775-2.png" +hash = "sha256_4a8ad7af5482104b3ec7c9a50091bb6f01df10a0cc758837cf47dcf7d73fd59d" diff --git a/test/commands/score/delete/delete_multiple/1.toml b/test/commands/score/delete/delete_multiple/1.toml new file mode 100644 index 0000000..52f8437 --- /dev/null +++ b/test/commands/score/delete/delete_multiple/1.toml @@ -0,0 +1,4 @@ +reply = true +content = "Deleted 2 play(s) successfully!" +embeds = [] +attachments = [] diff --git a/test/commands/score/delete/delete_multiple/2.toml b/test/commands/score/delete/delete_multiple/2.toml new file mode 100644 index 0000000..b29ea32 --- /dev/null +++ b/test/commands/score/delete/delete_multiple/2.toml @@ -0,0 +1,61 @@ +reply = true + +[[embeds]] +title = "ALTER EGO [FTR 10]" +type = "rich" +timestamp = "1970-01-01T00:00:00Z" + +[embeds.thumbnail] +url = "attachment://416-9926250-0.png" + +[embeds.author] +name = "testinguser" + +[[embeds.fields]] +name = "Score" +value = "9'926'250" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.13" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'693'042" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.14" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-164/-12/-5)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "397" +inline = true + +[[embeds.fields]] +name = "ID" +value = "2" +inline = true + +[[attachments]] +filename = "416-9926250-0.png" +hash = "sha256_5f1febcdf44bc22bf7ef5bff0cee197a65a221277ebe9615d469002b4324ada3" diff --git a/test/commands/score/delete/delete_twice/0.toml b/test/commands/score/delete/delete_twice/0.toml new file mode 100644 index 0000000..054680a --- /dev/null +++ b/test/commands/score/delete/delete_twice/0.toml @@ -0,0 +1,57 @@ +reply = true + +[[embeds]] +title = "ALTER EGO [FTR 10]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://416-9926250-0.png" + +[[embeds.fields]] +name = "Score" +value = "9'926'250" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.13" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'693'042" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.14" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-164/-12/-5)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "397" +inline = true + +[[embeds.fields]] +name = "ID" +value = "1" +inline = true + +[[attachments]] +filename = "416-9926250-0.png" +hash = "sha256_5f1febcdf44bc22bf7ef5bff0cee197a65a221277ebe9615d469002b4324ada3" diff --git a/test/commands/score/delete/delete_twice/1.toml b/test/commands/score/delete/delete_twice/1.toml new file mode 100644 index 0000000..c9c087e --- /dev/null +++ b/test/commands/score/delete/delete_twice/1.toml @@ -0,0 +1,4 @@ +reply = true +content = "No play with id 1 found" +embeds = [] +attachments = [] diff --git a/test/commands/score/delete/delete_twice/2.toml b/test/commands/score/delete/delete_twice/2.toml new file mode 100644 index 0000000..aee9081 --- /dev/null +++ b/test/commands/score/delete/delete_twice/2.toml @@ -0,0 +1,4 @@ +reply = true +content = "Deleted 1 play(s) successfully!" +embeds = [] +attachments = [] diff --git a/test/commands/score/delete/no_ids/0.toml b/test/commands/score/delete/no_ids/0.toml new file mode 100644 index 0000000..968928e --- /dev/null +++ b/test/commands/score/delete/no_ids/0.toml @@ -0,0 +1,4 @@ +reply = true +content = "Empty ID list provided" +embeds = [] +attachments = [] diff --git a/test/commands/score/delete/no_show_after_delete/0.toml b/test/commands/score/delete/no_show_after_delete/0.toml new file mode 100644 index 0000000..054680a --- /dev/null +++ b/test/commands/score/delete/no_show_after_delete/0.toml @@ -0,0 +1,57 @@ +reply = true + +[[embeds]] +title = "ALTER EGO [FTR 10]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://416-9926250-0.png" + +[[embeds.fields]] +name = "Score" +value = "9'926'250" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.13" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'693'042" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.14" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-164/-12/-5)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "397" +inline = true + +[[embeds.fields]] +name = "ID" +value = "1" +inline = true + +[[attachments]] +filename = "416-9926250-0.png" +hash = "sha256_5f1febcdf44bc22bf7ef5bff0cee197a65a221277ebe9615d469002b4324ada3" diff --git a/test/commands/score/delete/no_show_after_delete/1.toml b/test/commands/score/delete/no_show_after_delete/1.toml new file mode 100644 index 0000000..aee9081 --- /dev/null +++ b/test/commands/score/delete/no_show_after_delete/1.toml @@ -0,0 +1,4 @@ +reply = true +content = "Deleted 1 play(s) successfully!" +embeds = [] +attachments = [] diff --git a/test/commands/score/delete/no_show_after_delete/2.toml b/test/commands/score/delete/no_show_after_delete/2.toml new file mode 100644 index 0000000..6d256b0 --- /dev/null +++ b/test/commands/score/delete/no_show_after_delete/2.toml @@ -0,0 +1,4 @@ +reply = false +content = "Could not find play with id 1" +embeds = [] +attachments = [] diff --git a/test/commands/score/delete/nonexistent_id/0.toml b/test/commands/score/delete/nonexistent_id/0.toml new file mode 100644 index 0000000..06b5566 --- /dev/null +++ b/test/commands/score/delete/nonexistent_id/0.toml @@ -0,0 +1,4 @@ +reply = true +content = "No play with id 666 found" +embeds = [] +attachments = [] diff --git a/test/commands/score/magic/no_pics/0.toml b/test/commands/score/magic/no_pics/0.toml new file mode 100644 index 0000000..d4add93 --- /dev/null +++ b/test/commands/score/magic/no_pics/0.toml @@ -0,0 +1,4 @@ +reply = true +content = "No images found attached to message" +embeds = [] +attachments = [] diff --git a/test/commands/score/magic/single_pic/0.toml b/test/commands/score/magic/single_pic/0.toml new file mode 100644 index 0000000..054680a --- /dev/null +++ b/test/commands/score/magic/single_pic/0.toml @@ -0,0 +1,57 @@ +reply = true + +[[embeds]] +title = "ALTER EGO [FTR 10]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://416-9926250-0.png" + +[[embeds.fields]] +name = "Score" +value = "9'926'250" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.13" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'693'042" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.14" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-164/-12/-5)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "397" +inline = true + +[[embeds.fields]] +name = "ID" +value = "1" +inline = true + +[[attachments]] +filename = "416-9926250-0.png" +hash = "sha256_5f1febcdf44bc22bf7ef5bff0cee197a65a221277ebe9615d469002b4324ada3" diff --git a/test/commands/score/magic/weird_kerning/0.toml b/test/commands/score/magic/weird_kerning/0.toml new file mode 100644 index 0000000..740214a --- /dev/null +++ b/test/commands/score/magic/weird_kerning/0.toml @@ -0,0 +1,113 @@ +reply = true + +[[embeds]] +title = "Antithese [FTR 8+]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://116-9983744-0.png" + +[[embeds.fields]] +name = "Score" +value = "9'983'744" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "10.72" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'920'182" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "10.40" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-27/-1/-1)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "479" +inline = true + +[[embeds.fields]] +name = "ID" +value = "1" +inline = true + +[[embeds]] +title = "GENOCIDER [FTR 10+]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://243-9724775-1.png" + +[[embeds.fields]] +name = "Score" +value = "9'724'775" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "11.45" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'453'809" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "10.55" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "A" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-180/-40/-21)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "347" +inline = true + +[[embeds.fields]] +name = "ID" +value = "2" +inline = true + +[[attachments]] +filename = "116-9983744-0.png" +hash = "sha256_75b03ac3392d4bcb9d377396a36708aea1298dd463c08d5d62ca1e1414bfeaef" + +[[attachments]] +filename = "243-9724775-1.png" +hash = "sha256_4a8ad7af5482104b3ec7c9a50091bb6f01df10a0cc758837cf47dcf7d73fd59d" diff --git a/test/commands/score/show/agrees_with_magic/0.toml b/test/commands/score/show/agrees_with_magic/0.toml new file mode 100644 index 0000000..45027e3 --- /dev/null +++ b/test/commands/score/show/agrees_with_magic/0.toml @@ -0,0 +1,169 @@ +reply = true + +[[embeds]] +title = "ALTER EGO [FTR 10]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://416-9926250-0.png" + +[[embeds.fields]] +name = "Score" +value = "9'926'250" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.13" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'693'042" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.14" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-164/-12/-5)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "397" +inline = true + +[[embeds.fields]] +name = "ID" +value = "1" +inline = true + +[[embeds]] +title = "Antithese [FTR 8+]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://116-9983744-1.png" + +[[embeds.fields]] +name = "Score" +value = "9'983'744" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "10.72" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'920'182" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "10.40" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-27/-1/-1)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "479" +inline = true + +[[embeds.fields]] +name = "ID" +value = "2" +inline = true + +[[embeds]] +title = "GENOCIDER [FTR 10+]" +type = "rich" + +[embeds.thumbnail] +url = "attachment://243-9724775-2.png" + +[[embeds.fields]] +name = "Score" +value = "9'724'775" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "11.45" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'453'809" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "10.55" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "A" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-180/-40/-21)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "347" +inline = true + +[[embeds.fields]] +name = "ID" +value = "3" +inline = true + +[[attachments]] +filename = "416-9926250-0.png" +hash = "sha256_5f1febcdf44bc22bf7ef5bff0cee197a65a221277ebe9615d469002b4324ada3" + +[[attachments]] +filename = "116-9983744-1.png" +hash = "sha256_75b03ac3392d4bcb9d377396a36708aea1298dd463c08d5d62ca1e1414bfeaef" + +[[attachments]] +filename = "243-9724775-2.png" +hash = "sha256_4a8ad7af5482104b3ec7c9a50091bb6f01df10a0cc758837cf47dcf7d73fd59d" diff --git a/test/commands/score/show/agrees_with_magic/1.toml b/test/commands/score/show/agrees_with_magic/1.toml new file mode 100644 index 0000000..e33b9d5 --- /dev/null +++ b/test/commands/score/show/agrees_with_magic/1.toml @@ -0,0 +1,181 @@ +reply = true + +[[embeds]] +title = "ALTER EGO [FTR 10]" +type = "rich" +timestamp = "1970-01-01T00:00:00Z" + +[embeds.thumbnail] +url = "attachment://416-9926250-0.png" + +[embeds.author] +name = "testinguser" + +[[embeds.fields]] +name = "Score" +value = "9'926'250" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "12.13" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'693'042" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "11.14" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-164/-12/-5)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "397" +inline = true + +[[embeds.fields]] +name = "ID" +value = "1" +inline = true + +[[embeds]] +title = "Antithese [FTR 8+]" +type = "rich" +timestamp = "1970-01-01T00:00:00Z" + +[embeds.thumbnail] +url = "attachment://116-9983744-1.png" + +[embeds.author] +name = "testinguser" + +[[embeds.fields]] +name = "Score" +value = "9'983'744" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "10.72" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'920'182" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "10.40" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "EX+" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-27/-1/-1)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "479" +inline = true + +[[embeds.fields]] +name = "ID" +value = "2" +inline = true + +[[embeds]] +title = "GENOCIDER [FTR 10+]" +type = "rich" +timestamp = "1970-01-01T00:00:00Z" + +[embeds.thumbnail] +url = "attachment://243-9724775-2.png" + +[embeds.author] +name = "testinguser" + +[[embeds.fields]] +name = "Score" +value = "9'724'775" +inline = true + +[[embeds.fields]] +name = "Rating" +value = "11.45" +inline = true + +[[embeds.fields]] +name = "Grade" +value = "AA" +inline = true + +[[embeds.fields]] +name = "ξ-Score" +value = "9'453'809" +inline = true + +[[embeds.fields]] +name = "ξ-Rating" +value = "10.55" +inline = true + +[[embeds.fields]] +name = "ξ-Grade" +value = "A" +inline = true + +[[embeds.fields]] +name = "Status" +value = "C (-180/-40/-21)" +inline = true + +[[embeds.fields]] +name = "Max recall" +value = "347" +inline = true + +[[embeds.fields]] +name = "ID" +value = "3" +inline = true + +[[attachments]] +filename = "416-9926250-0.png" +hash = "sha256_5f1febcdf44bc22bf7ef5bff0cee197a65a221277ebe9615d469002b4324ada3" + +[[attachments]] +filename = "116-9983744-1.png" +hash = "sha256_75b03ac3392d4bcb9d377396a36708aea1298dd463c08d5d62ca1e1414bfeaef" + +[[attachments]] +filename = "243-9724775-2.png" +hash = "sha256_4a8ad7af5482104b3ec7c9a50091bb6f01df10a0cc758837cf47dcf7d73fd59d" diff --git a/test/commands/score/show/no_ids/0.toml b/test/commands/score/show/no_ids/0.toml new file mode 100644 index 0000000..968928e --- /dev/null +++ b/test/commands/score/show/no_ids/0.toml @@ -0,0 +1,4 @@ +reply = true +content = "Empty ID list provided" +embeds = [] +attachments = [] diff --git a/test/commands/score/show/nonexistent_id/0.toml b/test/commands/score/show/nonexistent_id/0.toml new file mode 100644 index 0000000..8ad6330 --- /dev/null +++ b/test/commands/score/show/nonexistent_id/0.toml @@ -0,0 +1,4 @@ +reply = false +content = "Could not find play with id 666" +embeds = [] +attachments = []