Skip to content

Commit

Permalink
Adding back cooldown
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaberer committed Sep 12, 2014
1 parent 78eec08 commit e51b402
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cinch-dicebag.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'coveralls', '~> 0.7'
gem.add_development_dependency 'cinch-test', '~> 0.1', '>= 0.1.0'
gem.add_dependency 'cinch', '~> 2'
gem.add_dependency 'cinch-cooldown', '~> 1.1', '>= 1.1.1'
gem.add_dependency 'cinch-cooldown', '~> 1.1', '>= 1.1.5'
gem.add_dependency 'cinch-storage', '~> 1.1'
gem.add_dependency 'cinch-toolbox', '~> 1.1'
end
2 changes: 2 additions & 0 deletions lib/cinch/plugins/dicebag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ module Plugins
class Dicebag
include Cinch::Plugin

enforce_cooldown

attr_accessor :storage

self.help = 'Roll a random bag of dice with .dicebag, you can also ' \
Expand Down
2 changes: 1 addition & 1 deletion lib/cinch/plugins/dicebag/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
module Cinch
# Versioning information for plugin
module Dicebag
VERSION = '1.0.11'
VERSION = '1.0.12'
end
end

0 comments on commit e51b402

Please sign in to comment.