ctcp:ping lol

This commit is contained in:
Flummi
2019-01-02 23:00:22 +01:00
parent 35bd311c85
commit 8a2d8c3d56
2 changed files with 11 additions and 2 deletions

View File

@ -9,4 +9,8 @@ export default self => {
self.bot.on("ctcp:version", e => {
e.write(`notice ${e.user.nick} :\u0001VERSION ${versions[~~(Math.random() * versions.length)]}\u0001`);
});
};
self.bot.on("ctcp:ping", e => {
e.write(`notice ${e.user.nick} :${e.message}`);
});
};