rename detector
This commit is contained in:
parent
17a67aaefa
commit
04f43b188d
7 changed files with 13 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import Detector from "./Detector.js";
|
||||
import detector from "./detector.js";
|
||||
import { cleanMessageContent } from "../utils/strings.js";
|
||||
|
||||
//check if the bot is pinged by someone
|
||||
|
|
@ -11,7 +11,7 @@ const answers = [
|
|||
'https://tenor.com/view/casse-fracasse-chabal-destroy-mur-gif-21656168'
|
||||
];
|
||||
|
||||
export default class PingDetector extends Detector {
|
||||
export default class PingDetector extends detector {
|
||||
triggerName = 'mention';
|
||||
|
||||
//prevent trigger if user is doing a troll on its own
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue