Skip to content

Commit b956e0b

Browse files
authored
Merge branch 'master' into dev
2 parents 84caf4e + 6e46246 commit b956e0b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,25 @@
22

33
Discord Webhook lightweight library for PHP
44

5+
56
Language: [🇺🇸 English](README.md), [🇵🇱 Polski](README.pl.md)
67

78
Discord Webhook Documentation: https://discordapp.com/developers/docs/resources/webhook#execute-webhook
89

910
## Requirements
1011

12+
1113
Software you need to have installed before you can use this project:
1214

1315
**Local or dedicated server:**
1416

1517
They work almost the same way.
1618

17-
- [WAMP](http://www.wampserver.com/) — v3 or [XAMPP](https://www.apachefriends.org)
19+
+ [WAMP](http://www.wampserver.com/) — v3 or [XAMPP](https://www.apachefriends.org)
1820

1921
Then you need the right PHP version. Below v7 won't work.
2022

21-
- PHP — version 7.2.14+
23+
+ PHP — version 7.2.14+
2224

2325
## Installation
2426

@@ -41,4 +43,4 @@ or
4143

4244
## License
4345

44-
[MIT](LICENSE)
46+
[MIT](https://github.com/m7rlin/DiscordWebhook/blob/master/LICENSE)

webhook.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
require_once 'DiscordWebhook.php';
99

10-
$url = "https://discordapp.com/api/webhooks/536576089582075936/QkY4y6xDDlrPXXtnSXLiAOnIo961w6BXl1SLTE0bj-t0--A-P3thhos5tskW_lIhiRfG";
10+
$url = "__WEBHOOK_URL__";
1111

1212
$message = $_POST["content"];
1313
$username = $_POST["username"] ?? "www.magictm.com";

0 commit comments

Comments
 (0)