@@ -55,13 +55,13 @@ protected ReplyCallbackAction handleModerationCommand(SlashCommandInteractionEve
5555 /**
5656 * Purges messages from a channel.
5757 *
58- * @param amount The number of messages to remove. If null, all messages
59- * will be removed.
60- * @param user The user whose messages to remove. If null, messages from any
61- * user are removed .
62- * @param archive Whether to create an archive file for the purge.
63- * @param channel The channel to remove messages from.
64- * @param logChannel The channel to write log messages to during the purge.
58+ * @param amount The number of messages to remove.
59+ * @param user The user whose messages to remove. If null, messages from any
60+ * user are removed.
61+ * @param initiatedBy The user which initiated the purge .
62+ * @param archive Whether to create an archive file for the purge.
63+ * @param channel The channel to remove messages from.
64+ * @param logChannel The channel to write log messages to during the purge.
6565 */
6666 private void purge (@ Nullable Long amount , @ Nullable User user , User initiatedBy , boolean archive , MessageChannel channel , TextChannel logChannel ) {
6767 MessageHistory history = channel .getHistory ();
@@ -129,7 +129,7 @@ private int removeMessages(List<Message> messages, @Nullable User user, @Nullabl
129129 *
130130 * @param channel The channel to create the writer for.
131131 * @param logChannel The log channel, where log messages can be sent.
132- * @param file The archive's filename.
132+ * @param file The archive's filename.
133133 * @return The print writer to use.
134134 */
135135 private PrintWriter createArchiveWriter (MessageChannel channel , TextChannel logChannel , String file ) {
0 commit comments