Improved unassign log messages
This commit is contained in:
parent
2b73548b7a
commit
0304744d9d
2 changed files with 7 additions and 3 deletions
|
@ -57,7 +57,11 @@ public class RemoveStaffCommand
|
|||
await logChannel.SendMessageAsync(new DiscordEmbedBuilder
|
||||
{
|
||||
Color = DiscordColor.Green,
|
||||
Description = "Staff member was unassigned from " + command.Channel.Mention + " by " + command.User.Mention + "."
|
||||
Description = "<@" + assignedTicket.assignedStaffID + "> was unassigned from <#" + assignedTicket.channelID + "> by " + command.User.Mention + ".",
|
||||
Footer = new DiscordEmbedBuilder.EmbedFooter
|
||||
{
|
||||
Text = "Ticket: " + assignedTicket.id.ToString("00000")
|
||||
}
|
||||
});
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
@ -39,7 +39,7 @@ public class UnassignCommand
|
|||
await command.RespondAsync(new DiscordEmbedBuilder
|
||||
{
|
||||
Color = DiscordColor.Green,
|
||||
Description = "Unassigned <@\" + ticket.assignedStaffID + \"> from ticket."
|
||||
Description = "Unassigned <@" + ticket.assignedStaffID + "> from ticket."
|
||||
});
|
||||
|
||||
try
|
||||
|
@ -49,7 +49,7 @@ public class UnassignCommand
|
|||
await logChannel.SendMessageAsync(new DiscordEmbedBuilder
|
||||
{
|
||||
Color = DiscordColor.Green,
|
||||
Description = "Staff member was unassigned from " + command.Channel.Mention + " by " + command.User.Mention + ".",
|
||||
Description = "<@" + ticket.assignedStaffID + "> was unassigned from <#" + ticket.channelID + "> by " + command.User.Mention + ".",
|
||||
Footer = new DiscordEmbedBuilder.EmbedFooter
|
||||
{
|
||||
Text = "Ticket: " + ticket.id.ToString("00000")
|
||||
|
|
Loading…
Reference in a new issue