update too many joins reason

master
Semisol 2021-09-29 23:28:25 +03:00
parent e6a889d032
commit 7d8462cec3
Signed by: Semisol
GPG Key ID: D5D485E3231A5764
1 changed files with 3 additions and 3 deletions

View File

@ -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",