mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 06:47:56 +00:00
Do the Big Rename
This commit is contained in:
parent
80c572f594
commit
ef614d07c3
18 changed files with 119 additions and 119 deletions
|
|
@ -8,7 +8,7 @@ namespace PluralKit.Bot
|
|||
{
|
||||
public static Context CheckGuildContext(this Context ctx)
|
||||
{
|
||||
if (ctx.ChannelNew.GuildId != null) return ctx;
|
||||
if (ctx.Channel.GuildId != null) return ctx;
|
||||
throw new PKError("This command can not be run in a DM.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue