1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-28 08:55:38 -05:00

Thanks dear.

This commit is contained in:
toast-ts 2023-02-17 07:05:06 +11:00
parent 804655c6b5
commit d23e6be428

View File

@ -67,7 +67,7 @@ export default {
await client.punishments.addPunishment('mute', {time: '1h'}, (client.user as Discord.User).id, 'Automod; Discord advertisement', message.author, message.member as Discord.GuildMember); await client.punishments.addPunishment('mute', {time: '1h'}, (client.user as Discord.User).id, 'Automod; Discord advertisement', message.author, message.member as Discord.GuildMember);
} }
}else{ }else{
client.repeatedMessages[message.author.id] = new client.collection(); client.repeatedMessages[message.author.id].data = new client.collection();
client.repeatedMessages[message.author.id].data.set(message.createdTimestamp, {cont: 1, ch: message.channelId}); client.repeatedMessages[message.author.id].data.set(message.createdTimestamp, {cont: 1, ch: message.channelId});
client.repeatedMessages[message.author.id].timeout = setTimeout(onTimeout, threshold); client.repeatedMessages[message.author.id].timeout = setTimeout(onTimeout, threshold);
} }