Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freenode is throttling long messages #273

Open
ralyodio opened this issue Feb 7, 2021 · 0 comments
Open

freenode is throttling long messages #273

ralyodio opened this issue Feb 7, 2021 · 0 comments

Comments

@ralyodio
Copy link

ralyodio commented Feb 7, 2021

I have a longer message for my .help command that is around 20 lines...however after 10 freenode throttles the bot from sending messages. Is there anway to send one line at a time or something with a pause?


bot.matchMessage(/^\.help/, async (event) => {
  console.log(event);
  bot.say(event.nick, `
Available commands:
 .c <crypto>
 .s <stock>
 .join <channel>
 .trend
 .short <url>
 .joke
 .ball <question>
 .hot
 .new
 .dd new|hot|top|comments
 .brisk stock|crypto <ticker>
 .brisk topic <subject>
 .shorts
 .penny
 .moon
 .amt c <ticker> <amount>
 .amt s <ticker> <amount>
`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant