removed strip from make_pretty_quote
parent
ad0540d07e
commit
213504a229
2
bot.rb
2
bot.rb
|
@ -30,7 +30,7 @@ end
|
|||
|
||||
# preserves whitespace intention for quotes, expects array of strings, one line per element
|
||||
def make_pretty_quote(quote)
|
||||
quote.map { |line| line.gsub('^^', " \n").gsub('^', "\n") }.join(' ').strip
|
||||
quote.map { |line| line.gsub('^^', " \n").gsub('^', "\n") }.join(' ')
|
||||
end
|
||||
|
||||
token = File.read('./token').strip
|
||||
|
|
Loading…
Reference in New Issue