|
3 | 3 | /* |
4 | 4 | * This file is a part of the DiscordPHP-Slash project. |
5 | 5 | * |
6 | | - * Copyright (c) 2020-present David Cole <[email protected]> |
| 6 | + * Copyright (c) 2021 David Cole <[email protected]> |
7 | 7 | * |
8 | | - * This source file is subject to the GNU General Public License v3.0 |
9 | | - * that is bundled with this source code in the LICENSE.md file. |
| 8 | + * This source file is subject to the MIT license which is |
| 9 | + * bundled with this source code in the LICENSE.md file. |
10 | 10 | */ |
11 | 11 |
|
12 | 12 | namespace Discord\Slash\Parts; |
@@ -226,10 +226,10 @@ public function sendFollowUpMessage(array $options): ExtendedPromiseInterface |
226 | 226 | * Also requires the slash client to be linked to a DiscordPHP client |
227 | 227 | * OR an application ID given in the options array. |
228 | 228 | * |
229 | | - * @param string $message_id |
230 | | - * @param string|null $content |
| 229 | + * @param string $message_id |
| 230 | + * @param string|null $content |
231 | 231 | * @param array[]|Embed[]|null $embeds |
232 | | - * @param array|null $allowed_mentions |
| 232 | + * @param array|null $allowed_mentions |
233 | 233 | * |
234 | 234 | * @return ExtendedPromiseInterface |
235 | 235 | */ |
@@ -272,7 +272,7 @@ private function validateFollowUpMessage(array $options) |
272 | 272 | $resolver |
273 | 273 | ->setDefined([ |
274 | 274 | 'content', 'username', 'avatar_url', |
275 | | - 'tts', 'embeds', 'allowed_mentions' |
| 275 | + 'tts', 'embeds', 'allowed_mentions', |
276 | 276 | ]) |
277 | 277 | ->setAllowedTypes('content', 'string') |
278 | 278 | ->setAllowedTypes('username', 'string') |
|
0 commit comments