no history response
This commit is contained in:
parent
ffd77d787a
commit
b0ba34b1ac
@ -26,6 +26,7 @@ class Logs extends Command {
|
||||
|
||||
const { member, channel } = message;
|
||||
const history = await this.client.modmail.loadHistory(user.id);
|
||||
if (!history.length) return 'Not found in modmail DB';
|
||||
const page = this.paginate([...history].filter((e) => !e.markread).reverse(), pageNr, 10);
|
||||
|
||||
const embed = {
|
||||
|
Loading…
Reference in New Issue
Block a user