diff --git a/src/NadekoBot/Common/Replacements/ReplacementBuilder.cs b/src/NadekoBot/Common/Replacements/ReplacementBuilder.cs index d9c211456..5a68d34a1 100644 --- a/src/NadekoBot/Common/Replacements/ReplacementBuilder.cs +++ b/src/NadekoBot/Common/Replacements/ReplacementBuilder.cs @@ -55,6 +55,7 @@ public class ReplacementBuilder _reps.TryAdd("%server%", () => g is null ? "DM" : g.Name); _reps.TryAdd("%server.id%", () => g is null ? "DM" : g.Id.ToString()); _reps.TryAdd("%server.name%", () => g is null ? "DM" : g.Name); + _reps.TryAdd("%server.icon%", () => g is null ? null : g.IconUrl); _reps.TryAdd("%server.members%", () => g is { } sg ? sg.MemberCount.ToString() : "?"); _reps.TryAdd("%server.boosters%", () => g.PremiumSubscriptionCount.ToString()); _reps.TryAdd("%server.boost_level%", () => ((int)g.PremiumTier).ToString()); diff --git a/src/NadekoBot/Modules/Utility/CommandMap/CommandMapService.cs b/src/NadekoBot/Modules/Utility/CommandMap/CommandMapService.cs index f527a080c..dea5552ee 100644 --- a/src/NadekoBot/Modules/Utility/CommandMap/CommandMapService.cs +++ b/src/NadekoBot/Modules/Utility/CommandMap/CommandMapService.cs @@ -46,7 +46,6 @@ public class CommandMapService : IInputTransformer, INService return count; } - // todo bank take all public async Task TransformInput( IGuild guild, IMessageChannel channel,