update too many joins reason
parent
e6a889d032
commit
7d8462cec3
6
index.js
6
index.js
|
@ -242,12 +242,12 @@ bot.on("join", (evt) => {
|
||||||
lockActive = true
|
lockActive = true
|
||||||
bot.say(conf.channel, bold + "Locking channel for 60 seconds")
|
bot.say(conf.channel, bold + "Locking channel for 60 seconds")
|
||||||
bot.mode(conf.channel, "+i")
|
bot.mode(conf.channel, "+i")
|
||||||
bot.raw("locops", "#wallops has been locked temporarily due to a probable botnet attack")
|
bot.raw("locops", "#wallops has been locked temporarily due to too many joins")
|
||||||
transporter.sendMail({
|
transporter.sendMail({
|
||||||
from: conf.mail.sender,
|
from: conf.mail.sender,
|
||||||
to: conf.mail.receiver,
|
to: conf.mail.receiver,
|
||||||
subject: "#wallops has been locked (probable botnet)",
|
subject: "#wallops has been locked (too many joins)",
|
||||||
text: "#wallops has been locked due to a probable botnet.\nA log has been attached.",
|
text: "#wallops has been locked due to too many joins.\nA log has been attached.",
|
||||||
attachments: [
|
attachments: [
|
||||||
{
|
{
|
||||||
filename: "log.txt",
|
filename: "log.txt",
|
||||||
|
|
Reference in New Issue