fix max amt cap
This commit is contained in:
parent
d1433609c9
commit
4004815b47
6
bot.js
6
bot.js
@ -9,7 +9,7 @@ var config = { //edit your shit here
|
|||||||
server: "irc.supernets.org",
|
server: "irc.supernets.org",
|
||||||
port: 6697,
|
port: 6697,
|
||||||
SSL: true,
|
SSL: true,
|
||||||
channels: ['#superbowl', '#dev'],
|
channels: ['#dev'],
|
||||||
botName: "fascinus",
|
botName: "fascinus",
|
||||||
userName: "fascinus",
|
userName: "fascinus",
|
||||||
realName: "Sneed"
|
realName: "Sneed"
|
||||||
@ -49,7 +49,7 @@ async function help(chan) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function flood(text, chan, amt) {
|
async function flood(text, chan, amt) {
|
||||||
if (amt > '100000') {
|
if (amt > 100000) {
|
||||||
bot.say(chan, "no");
|
bot.say(chan, "no");
|
||||||
} else {
|
} else {
|
||||||
for(var i=0; i < amt; i++){
|
for(var i=0; i < amt; i++){
|
||||||
@ -68,7 +68,7 @@ async function sneed(chan) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function ctcp(target, text, amt) {
|
async function ctcp(target, text, amt) {
|
||||||
if (amt > '100000') {
|
if (amt > 100000) {
|
||||||
bot.say(chan, "no");
|
bot.say(chan, "no");
|
||||||
} else {
|
} else {
|
||||||
for(var i=0; i < amt; i++){
|
for(var i=0; i < amt; i++){
|
||||||
|
Loading…
Reference in New Issue
Block a user