Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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