Last active
August 29, 2015 14:16
-
-
Save palon7/273ce0d4769b3828b61f to your computer and use it in GitHub Desktop.
むきゅーっ!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# -*- coding: utf-8 -*- | |
require 'twitter' | |
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = '' | |
config.consumer_secret = '' | |
config.access_token = '' | |
config.access_token_secret = '' | |
end | |
mukyu = [] | |
rand(10).times do | |
mukyu.push("む" + "っ" * rand(2) + "きゅ") | |
end | |
rand(10).times do | |
mukyu.push("ー") | |
end | |
tweet = "むきゅ" + mukyu.shuffle.join + "ん" * rand(2) + "っ" * rand(2) + ("…" * rand(4)) + ("!" * rand(4)) | |
client.update tweet | |
puts tweet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment