generated from nhcarrigan/template
feat: increase limit for history
This commit is contained in:
parent
9eabdc9a29
commit
2b1e54ad2b
@ -34,7 +34,7 @@ export const onMessage = async(message: Message): Promise<void> => {
|
||||
if (!subbed) {
|
||||
return;
|
||||
}
|
||||
const historyRequest = await message.channel.messages.fetch({ limit: 6 });
|
||||
const historyRequest = await message.channel.messages.fetch({ limit: 20 });
|
||||
const history = [ ...historyRequest.values() ];
|
||||
const clearMessageIndex = history.findIndex((messageInner) => {
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user