Skip to content

Commit d7166cc

Browse files
authored
Send the Discord spoiling code in attachment file (#307)
* Remove Restcord and use symfony/http-client instead * Send the Discord spoiling code in attachment to avoid admin message length limit * Fix CI CS job * Use a retryable aware http client
1 parent db61449 commit d7166cc

File tree

10 files changed

+297
-453
lines changed

10 files changed

+297
-453
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
run: castor qa:phpstan
5555

5656
- name: "Run PHP-CS-Fixer"
57-
run: castor qa:cs
57+
run: castor qa:cs --dry-run

composer.json

+1-7
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
"nelmio/security-bundle": "^3.4.2",
2828
"nyholm/psr7": "^1.8.2",
2929
"predis/predis": "^2.2.2",
30-
"restcord/restcord": "dev-feature/update-sf",
3130
"symfony/asset": ">=7.1.1",
3231
"symfony/console": ">=7.1.5",
3332
"symfony/flex": "^2.4.7",
3433
"symfony/form": ">=7.1.5",
3534
"symfony/framework-bundle": ">=7.1.5",
3635
"symfony/http-client": ">=7.1.5",
36+
"symfony/mime": "7.1.*",
3737
"symfony/monolog-bundle": "^3.10",
3838
"symfony/runtime": ">=7.1.1",
3939
"symfony/twig-bundle": ">=7.1.5",
@@ -53,12 +53,6 @@
5353
"symfony/var-dumper": ">=7.1.5",
5454
"symfony/web-profiler-bundle": ">=7.1.4"
5555
},
56-
"repositories": {
57-
"jewome62_restcord": {
58-
"type": "vcs",
59-
"url": "[email protected]:jewome62/restcord.git"
60-
}
61-
},
6256
"config": {
6357
"optimize-autoloader": true,
6458
"preferred-install": {

0 commit comments

Comments
 (0)