11 Commits

Author SHA1 Message Date
cbc98e8410 Bump node-fetch from 2.6.1 to 3.1.1 in /web/nodejs
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.1.1.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.1.1)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 13:58:06 +00:00
8238e0f031 Bump node-fetch from 2.6.0 to 2.6.1 in /web/nodejs
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-13 04:56:07 +00:00
9f6d59424c webhook is now affected by security setting 2020-09-03 03:42:45 +03:00
8ee1fc3542 Update .gitignore 2020-08-26 19:21:48 +03:00
2417ab8cdc removed useless stuff 2020-08-26 19:21:14 +03:00
52d332450b node webpart request security fix 2020-08-26 18:53:08 +03:00
06580802e1 nodejs webpart upload 2020-08-26 18:43:01 +03:00
7e38b859f4 slight reorganization
- request.php and send.php files moved to web/php/ directory

- updated readme info
2020-08-25 06:09:35 +03:00
147a39e67a useless code removed 2020-08-25 05:48:04 +03:00
7b6059a117 Updated request.php to fix results not retrieving
All that has changed is the line:
$result = file_get_contents_utf8("https://discordapp.com/api/channels/" . $channel . "/messages?token=" . $token);
has been changed to:
$result = file_get_contents_utf8("https://discordapp.com/api/channels/" . $channel . "/messages?token=Bot%20" . $token);
due to the fact that the Discord API now requries the word "Bot" before providing the key in requests.
2020-07-31 19:40:40 +01:00
c25c198dc4 Web part upload
There are redirection PHP scripts to redirect Garry's Mod GET and POST requests to the Discord API. CloudFlare that uses Discord do not allows GMod browser to send GET and POST requests that is the reason you must use redirection. Just upload this files to your web-server and configure api links at /lua/autorun/server/discord.lua
2019-04-12 13:38:58 +03:00