     paste: (text, callback) ->
       @message text, "PasteMessage", callback
 
+    topic: (text, callback) ->
+      self.put "/room/#{id}", text, callback
+
     sound: (text, callback) ->
       @message text, "SoundMessage", callback
 

  post: (path, body, callback) ->
    @request "POST", path, body, callback

  request: (method, path, body, callback) ->
    headers =
      "Authorization" : @authorization


  reply: (user, strings...) ->
    @send user, strings.map((str) -> "#{user.name}: #{str}")...

  topic: (user, strings...) ->
    @bot.Room(user.room).speak "Changing topic: #{strings.join}"
    @bot.topic(strings.join("\n"))

  run: ->
    self = @
