Skip to content

Commit

Permalink
Preferences: No backticks in console
Browse files Browse the repository at this point in the history
Backticks are great in Slack and presumably Discord.  Look very out of
place in the console.
  • Loading branch information
Davis-A authored and rjbs committed Nov 3, 2024
1 parent 6382616 commit c5260a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Synergy/Reactor/Preferences.pm
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ responder dump => {
my $prefs = join "\n", @pref_strings;
my $name = $for_user->username;

return await $event->reply("Preferences for $name: ```$prefs```");
$prefs = "```$prefs```" unless $event->from_channel->isa('Synergy::Channel::Console');
return await $event->reply("Preferences for $name:\n$prefs");
};

async sub _set_pref ($self, $event, $who, $full_name, $pref_value) {
Expand Down

0 comments on commit c5260a2

Please sign in to comment.