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

Commit

Permalink
Create kick.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSpen authored May 3, 2021
1 parent f64eb19 commit 5e999a7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions functions/kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# $kick
Kicks a user from the provided server.

## Usage
```$kick[guildID;userID;reason]```

### Breakdown
`guildID` - The server that the user gets kicked from. Use `$guildID` for the current server.
`userID` - The user who is being kicked.
`reason` - The reason why the user is getting kicked (for the audit log).

## Example
```bot.command({
type: "command",
name: "kick",
code: `$kick[$guildID;$mentioned[1];$replaceText[$message;$message[1];;1]]` // kicks the mentioned user.
})```

0 comments on commit 5e999a7

Please sign in to comment.