Skip to content

Commit

Permalink
Send the Discord spoiling code in attachment file (#307)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
pyrech authored Dec 11, 2024
1 parent db61449 commit d7166cc
Show file tree
Hide file tree
Showing 10 changed files with 297 additions and 453 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
run: castor qa:phpstan

- name: "Run PHP-CS-Fixer"
run: castor qa:cs
run: castor qa:cs --dry-run
8 changes: 1 addition & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
"nelmio/security-bundle": "^3.4.2",
"nyholm/psr7": "^1.8.2",
"predis/predis": "^2.2.2",
"restcord/restcord": "dev-feature/update-sf",
"symfony/asset": ">=7.1.1",
"symfony/console": ">=7.1.5",
"symfony/flex": "^2.4.7",
"symfony/form": ">=7.1.5",
"symfony/framework-bundle": ">=7.1.5",
"symfony/http-client": ">=7.1.5",
"symfony/mime": "7.1.*",
"symfony/monolog-bundle": "^3.10",
"symfony/runtime": ">=7.1.1",
"symfony/twig-bundle": ">=7.1.5",
Expand All @@ -53,12 +53,6 @@
"symfony/var-dumper": ">=7.1.5",
"symfony/web-profiler-bundle": ">=7.1.4"
},
"repositories": {
"jewome62_restcord": {
"type": "vcs",
"url": "[email protected]:jewome62/restcord.git"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": {
Expand Down
Loading

0 comments on commit d7166cc

Please sign in to comment.