3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-25 18:25:03 +00:00

Re-enable Namehistory

This commit is contained in:
Ibotmealot 2022-01-26 21:12:02 -05:00
parent 9d2fbee17f
commit 0f3e8f3860
3 changed files with 4 additions and 5 deletions

View file

@ -17,7 +17,7 @@ if (!isAPI()) {
setTimeout(cleanup, 30 * SECONDS);
}
export const MAX_NICKNAME_ENTRIES_PER_USER = 10;
export const MAX_NICKNAME_ENTRIES_PER_USER = 20;
export class GuildNicknameHistory extends BaseGuildRepository {
private nicknameHistory: Repository<NicknameHistoryEntry>;

View file

@ -17,7 +17,7 @@ if (!isAPI()) {
setTimeout(cleanup, 30 * SECONDS);
}
export const MAX_USERNAME_ENTRIES_PER_USER = 5;
export const MAX_USERNAME_ENTRIES_PER_USER = 20;
export class UsernameHistory extends BaseRepository {
private usernameHistory: Repository<UsernameHistoryEntry>;

View file

@ -35,9 +35,8 @@ export const NameHistoryPlugin = zeppelinGuildPlugin<NameHistoryPluginType>()({
// prettier-ignore
events: [
// FIXME: Temporary
// ChannelJoinEvt,
// MessageCreateEvt,
ChannelJoinEvt,
MessageCreateEvt,
],
beforeLoad(pluginData) {