Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from HunterTheCoder123/main
Browse files Browse the repository at this point in the history
d.js-BDScript-Documention
  • Loading branch information
DevSpen authored May 4, 2021
2 parents 82aea2f + bed8255 commit 63664ee
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions functions/channelExists.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# $channelExists
Checks whether or not the given channel exists. Returns "true" if it exists, returns "false" if it doesn't.

## Usage
```$channelExists[channelID]```

### Breakdown
`channelID` - The channel which the bot checks.

## Example
```
bot.command({
type: "command",
name: "channel-exists",
code: `Channel Exists? $channelExists[$message]`
})
````

0 comments on commit 63664ee

Please sign in to comment.