removed strip from make_pretty_quote

master
s00ner 2024-07-15 15:40:59 -04:00
parent ad0540d07e
commit 213504a229
1 changed files with 1 additions and 1 deletions

2
bot.rb
View File

@ -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