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

Trying to make a bot and can't figure out how to kick and do other op tasks #363

Closed
awesomenessispure opened this issue May 10, 2015 · 4 comments

Comments

@awesomenessispure
Copy link

I am trying to make a bot that can kick people. I am using http://pastebin.com/X7Firevp currently. Instead of kicking the person when i type !kick NAME it puts it as a chat message to the chan. How can I go about fixing this.

@Timer
Copy link
Contributor

Timer commented May 14, 2015

You must actually use the IRC command KICK, irc clients are what provide you with the /kick syntactical sugar.
KICK <channel> <client> [<message>]

@sim642
Copy link
Contributor

sim642 commented May 14, 2015

bot.send('KICK', channel, nick, message); should work

@ghost
Copy link

ghost commented Sep 4, 2015

These are viable solutions. Please close this. Thanks!

@ghost
Copy link

ghost commented Sep 11, 2015

Please close this issue. Thanks!

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

3 participants