Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/harmony/src/interactions/mod.ts>isInGuild

An easy to use Discord API Library for Deno.
Go to Latest
function isInGuild
import { isInGuild } from "https://deno.land/x/harmony@v2.6.0/src/interactions/mod.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