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
|
# preserves whitespace intention for quotes, expects array of strings, one line per element
|
||||||
def make_pretty_quote(quote)
|
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
|
end
|
||||||
|
|
||||||
token = File.read('./token').strip
|
token = File.read('./token').strip
|
||||||
|
|
Loading…
Reference in New Issue