1
0
forked from w0bm/f0bm

Initial commit

This commit is contained in:
Flummi
2018-09-02 12:07:40 +02:00
commit 47ccf527ee
30 changed files with 1768 additions and 0 deletions

12
src/inc/events/ctcp.mjs Normal file
View File

@@ -0,0 +1,12 @@
import { logger } from "../log";
const versions = [
"AmIRC.1 (8 Bit) for Commodore Amiga 500",
"HexChat 0.72 [x86] / Windows 95c [500MHz]"
];
export default self => {
self.bot.on("ctcp:version", e => {
e.write(`notice ${e.user.nick} :\u0001VERSION ${versions[~~(Math.random() * versions.length)]}\u0001`);
});
};