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
|
||||
bot.say(conf.channel, bold + "Locking channel for 60 seconds")
|
||||
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({
|
||||
from: conf.mail.sender,
|
||||
to: conf.mail.receiver,
|
||||
subject: "#wallops has been locked (probable botnet)",
|
||||
text: "#wallops has been locked due to a probable botnet.\nA log has been attached.",
|
||||
subject: "#wallops has been locked (too many joins)",
|
||||
text: "#wallops has been locked due to too many joins.\nA log has been attached.",
|
||||
attachments: [
|
||||
{
|
||||
filename: "log.txt",
|
||||
|
|
Reference in New Issue