Skip to main content
Module

x/harmony/deploy.ts>isInGuild

An easy to use Discord API Library for Deno.
Latest
function isInGuild
import { isInGuild } from "https://deno.land/x/harmony@v2.9.0/deploy.ts";

The command can only be called from a guild.

Parameters

message: string

message or function called when the condition is not met

Returns

ApplicationCommandDecorator

wrapped function

Returns

ApplicationCommandDecorator