random ctcp version
This commit is contained in:
parent
3ebdf7d58c
commit
32b008f1e5
|
@ -47,7 +47,11 @@ read().then(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
bot.on("ctcp:version", e => {
|
bot.on("ctcp:version", e => {
|
||||||
e.write(`notice ${e.user.nick} :\u0001VERSION Pimmel 2.1\u0001`);
|
const versions = [
|
||||||
|
"AmIRC.1 (8 Bit) for Commodore Amiga 500",
|
||||||
|
"HexChat 0.72 [x86] / Windows 95c [500MHz]"
|
||||||
|
];
|
||||||
|
e.write(`notice ${e.user.nick} :\u0001VERSION ${versions[~~(Math.random() * versions.length)]}\u0001`);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user