Skip to content

Commit

Permalink
hot fix rt command
Browse files Browse the repository at this point in the history
  • Loading branch information
UlyssesZh committed Mar 25, 2024
1 parent 6c98303 commit d04f323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lyricat/bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ def b15 lang, session_token
s.concat "- #{song.name lang}\t#{Song.diff_name_in_game diff_id, lang}\n"
end
unless middle_result.empty?
middle_result = "**#{Song.diff_in_game_and_abbr_precise diff, lang, special: diff_id == 5}**\n" + middle_result
middle_result = "**#{Song.diff_in_game_and_abbr_precise diff, lang}**\n" + middle_result
if result.length + middle_result.length + link.length + 1 > 2000
if event.channel.pm?
try_reply event.message, result
Expand Down

0 comments on commit d04f323

Please sign in to comment.