diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a5eff4e..9678e9d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,8 @@ - + + \ No newline at end of file diff --git a/Janitor.rb b/Janitor.rb index fda2d52..4a4a4ed 100644 --- a/Janitor.rb +++ b/Janitor.rb @@ -11,7 +11,7 @@ class Janitor @ts = Teamspeak::Client.new('ts3.vereto.net') @ts.login('serveradmin', ENV["SrvQry"].dup) @ts.command('use', {sid: 1}) - @ts.command('clientupdate', client_nickname: '[BOT]Janitor') + @ts.command('clientupdate', client_nickname: '[BOT]\sJanitor') return @ts end @@ -61,7 +61,6 @@ class Janitor return move_client(whoami['client_id'], cid) end - def check_channels() server_info = @ts.command('serverinfo') @@ -89,8 +88,6 @@ class Janitor end end end - - end end