mirror of
https://github.com/mii443/rbot.git
synced 2025-08-22 15:45:30 +00:00
hoge
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
module Bot
|
||||
module DiscordCommands
|
||||
module DiscordEvents
|
||||
module MemberEvent
|
||||
extend Discordrb::EventContainer
|
||||
|
||||
|
14
lib/events/playing.rb
Normal file
14
lib/events/playing.rb
Normal file
@ -0,0 +1,14 @@
|
||||
module Bot
|
||||
module DiscordEvents
|
||||
module PlayingEvent
|
||||
extend Discordrb::EventContainer
|
||||
|
||||
playing do |event|
|
||||
unless event.user.id == 153106386585255936
|
||||
puts "#{event.user.name}のステータスが#{event.game}に変更されました"
|
||||
nil
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user