Purge now sends deleted messages to the user.#54
Purge now sends deleted messages to the user.#54Owen1212055 merged 6 commits intoMCDiamondFire:masterfrom
Conversation
|
I know I'm not a reviewer, but wouldn't it be nice to include some emojis/formatting and slap a SimpleDateFormat on the date instead of using #toString ? |
I use the |
My bad, it looked like the default to me. I don't like this format, but it's down to preference really and in the end its about functionality. I'd still propose putting some markdown though (maybe even embeds instead), but its up to you and @Owen1212055 Nice |
src/main/java/com/diamondfire/helpbot/bot/command/impl/other/mod/PurgeCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/com/diamondfire/helpbot/bot/command/impl/other/mod/PurgeCommand.java
Outdated
Show resolved
Hide resolved
|
~ insert spooky dm convos ~ |
Owen1212055
left a comment
There was a problem hiding this comment.
Thanks for the help ryan!
I think that it's better off compiling a text file with the messages instead.
Date, sender, attachements (as urls), etc
Look at the code for commands like sessions logs for reference. If you need help feel free to reach out to us. If you think it shouldn't be a file I'd love to know, because I feel it may make some things easier. (Like 4K char messages)
|
Thanks for your contribution! |
Includes date/time sent, author as a mention, and the content of the messages. Does not send media attached. Most recent messages at the top of the output. Example output:

Could always be changed slightly to send to a log channel in the server, although a new one would need to be created.