Skip to content

Instantly share code, notes, and snippets.

View minieetea's full-sized avatar
🐒

강미경 minieetea

🐒
View GitHub Profile
@BlizzardBlue
BlizzardBlue / WeirdMorning.py
Last active April 26, 2016 07:01
Shouts out "모닝모닝" at the speed of light.
# -*- coding: utf-8 -*-
import requests
import json
import time
from decimal import *
token = 'place your Web API token here' # https://api.slack.com
api_url = 'https://slack.com/api/chat.postMessage'
data = {
'token': token,
var request = require("request");
request('https://slack.com/api/chat.postMessage?'+
'token=token&channel=C024R44D8&text='+
encodeURIComponent('모닝모닝')+
'&as_user=true');
@Jack-Valentine
Jack-Valentine / RunMorning.py
Last active January 5, 2016 06:16
Send to "Morning Mornig" message in your slack channel.
import time
from slackclient import SlackClient
Token = 'token' #You must input your token key.
Chan = "C0XXXXXX" #You must input your slack channel code.
Text = "Test" #Input your text.
sc = SlackClient(Token)
if sc.rtm_connect():
while True: