mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
dev: Some minor renaming to match the strings
add: audit logs for several commands docs: Updated changelog fix: xp card user avatar wasn't showing for some users
This commit is contained in:
@@ -207,7 +207,10 @@ public partial class Administration : NadekoModule<AdministrationService>
|
||||
[BotPerm(GuildPerm.ManageChannels)]
|
||||
public async Task DelTxtChanl([Leftover] ITextChannel toDelete)
|
||||
{
|
||||
await toDelete.DeleteAsync();
|
||||
await toDelete.DeleteAsync(new RequestOptions()
|
||||
{
|
||||
AuditLogReason = $"Deleted by {ctx.User.Username}"
|
||||
});
|
||||
await Response().Confirm(strs.deltextchan(Format.Bold(toDelete.Name))).SendAsync();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user