.ban and .kick reasons will now show up in audit log.
This commit is contained in:
		@@ -286,7 +286,7 @@ namespace NadekoBot.Modules.Administration
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                await Context.Guild.AddBanAsync(user, 7).ConfigureAwait(false);
 | 
			
		||||
                await Context.Guild.AddBanAsync(user, 7, msg).ConfigureAwait(false);
 | 
			
		||||
                await Context.Channel.EmbedAsync(new EmbedBuilder().WithOkColor()
 | 
			
		||||
                        .WithTitle("⛔️ " + GetText("banned_user"))
 | 
			
		||||
                        .AddField(efb => efb.WithName(GetText("username")).WithValue(user.ToString()).WithIsInline(true))
 | 
			
		||||
@@ -395,7 +395,7 @@ namespace NadekoBot.Modules.Administration
 | 
			
		||||
                    catch { }
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                await user.KickAsync().ConfigureAwait(false);
 | 
			
		||||
                await user.KickAsync(msg).ConfigureAwait(false);
 | 
			
		||||
                await Context.Channel.EmbedAsync(new EmbedBuilder().WithOkColor()
 | 
			
		||||
                        .WithTitle(GetText("kicked_user"))
 | 
			
		||||
                        .AddField(efb => efb.WithName(GetText("username")).WithValue(user.ToString()).WithIsInline(true))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user