mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 02:25:01 +00:00
Re-enable Namehistory
This commit is contained in:
parent
9d2fbee17f
commit
0f3e8f3860
3 changed files with 4 additions and 5 deletions
|
@ -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>;
|
||||
|
|
|
@ -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>;
|
||||
|
|
|
@ -35,9 +35,8 @@ export const NameHistoryPlugin = zeppelinGuildPlugin<NameHistoryPluginType>()({
|
|||
|
||||
// prettier-ignore
|
||||
events: [
|
||||
// FIXME: Temporary
|
||||
// ChannelJoinEvt,
|
||||
// MessageCreateEvt,
|
||||
ChannelJoinEvt,
|
||||
MessageCreateEvt,
|
||||
],
|
||||
|
||||
beforeLoad(pluginData) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue