1.2.2 • Published 2 years ago

negan-module-hall-of-fame v1.2.2

Weekly downloads
-
License
GPL-2.0-only
Repository
github
Last release
2 years ago

Hall of fame

This is a simple hall of fame module for negan-bot.

"Hall of fame". Users can "like" messages by reacting with :star:. If at least 7 users like a message, it will be reposted into a channel specified by server owner or mod.

Configuration

The threshold can be configured.

Example:

import { NeganBot } from 'negan-bot';
import { HallOfFameModule } from 'negan-module-hall-of-fame';

const bot: NeganBot = new NeganBot();


bot.registerModules([
    HallOfFameModule
]);

const hofModule: HallOfFameModule | undefined = bot.getModule(HallOfFameModule);
if (hofModule) {
    hofModule.setThreshold(2);
}
1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago