Skip to content

Instantly share code, notes, and snippets.

@palon7
Last active August 29, 2015 14:16
Show Gist options
  • Save palon7/273ce0d4769b3828b61f to your computer and use it in GitHub Desktop.
Save palon7/273ce0d4769b3828b61f to your computer and use it in GitHub Desktop.
むきゅーっ!
#!/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