feat(bot): add support for Discord message context commands (#513)
This commit is contained in:
@@ -14,6 +14,12 @@ public class PKMessage
|
||||
public ulong? OriginalMid { get; set; }
|
||||
}
|
||||
|
||||
public static class PKMessageExt
|
||||
{
|
||||
public static string JumpLink(this PKMessage msg) =>
|
||||
$"https://discord.com/channels/{msg.Guild!.Value}/{msg.Channel}/{msg.Mid}";
|
||||
}
|
||||
|
||||
public class FullMessage
|
||||
{
|
||||
public PKMessage Message;
|
||||
|
Reference in New Issue
Block a user