diff --git a/sgx_jmp.rb b/sgx_jmp.rb index d9eb404a8ca910244eb0a311884af4af5f18c1d7..6947314d9d4bc138e3c3039afba8feeaf7b9dd07 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -113,6 +113,12 @@ setup( workqueue_count: 0 ) +message to: /\Aaccount@/ do |m| + self << m.reply.tap do |out| + out.body = "This bot is deprecated. Please talk to xmpp:cheogram.com" + end +end + message to: /\Acustomer_/, from: /@#{CONFIG[:sgx]}(\/|\Z)/ do |m| Customer.for_customer_id( m.to.node.delete_prefix("customer_")