aboutsummaryrefslogtreecommitdiff
path: root/src/lib/common/DeleteButton.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-19 16:59:49 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-19 16:59:49 -0400
commitf580e41111a9332a4a74b63118dc94efa216c388 (patch)
tree97af802a74d7d03a0d850b98c1de1ef8612cc3bb /src/lib/common/DeleteButton.ts
parente99cc791200d1ae24b2bb99dfd80aa0c5e7f4c52 (diff)
downloadtanzanite-f580e41111a9332a4a74b63118dc94efa216c388.tar.gz
tanzanite-f580e41111a9332a4a74b63118dc94efa216c388.tar.bz2
tanzanite-f580e41111a9332a4a74b63118dc94efa216c388.zip
refactoring and spelling fixes
Diffstat (limited to 'src/lib/common/DeleteButton.ts')
-rw-r--r--src/lib/common/DeleteButton.ts12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/common/DeleteButton.ts b/src/lib/common/DeleteButton.ts
index bc0da17..556bc07 100644
--- a/src/lib/common/DeleteButton.ts
+++ b/src/lib/common/DeleteButton.ts
@@ -18,17 +18,7 @@ export class DeleteButton {
* @param message The message to respond to
* @param messageOptions The send message options
*/
- protected constructor(
- /**
- * The message that triggered the command
- */
- protected message: CommandMessage | SlashMessage,
-
- /**
- * Options for sending the message
- */
- protected messageOptions: MessageOptions
- ) {}
+ protected constructor(protected message: CommandMessage | SlashMessage, protected messageOptions: MessageOptions) {}
/**
* Sends a message with a button for the user to delete it.