Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1001925 // Slack Bot! (nlbots.slack.com, #talkingbots)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (523L/4K/13K).

!752

static Class slackBot;

p {
  slackBot = include("#1001915");
  set(slackBot, "token",loadSecretTextFileMandatory(getProgramID(), "nlbots-slack-token").trim());
  set(slackBot, "channelID", "C0G5GPEMR");
  callMain(slackBot);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001925
Snippet name: Slack Bot! (nlbots.slack.com, #talkingbots)
Eternal ID of this version: #1001925/1
Text MD5: 2eea427677d4c456dddd8c95b904c051
Transpilation MD5: e3236185b7ebce0d7e615671cc4e0f5b
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-08 17:01:58
Source code size: 242 bytes / 10 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 737 / 1956
Referenced in: #1001934 - Test channels.history on Slack (reading chat contents of nlbots/#talkingbots)
#1002016 - Slack Auto-Invite (works)
#1002018 - Slack Auto-Invite Bot (LIVE)
#1002268 - Slack Bot Include
#1002647 - Slack Bot Include (dynamic channels, dev.)
#1002717 - Run channels.list (eleu.slack.com)
#1003014 - Run channels.list (devchat-test)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)