Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var bot = new cleverbot("xxxxx", "xxxxx");
- bot.create(function (err, session)
- {
- bot.ask('Never gonna give you up', function (err, response)
- {
- var chan = client.channels.find("name", "bot-commands");
- client.channels.get(chan.id).sendMessage(response);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement