Socket
Socket
Sign inDemoInstall

djs-ticket-esmile

Package Overview
Dependencies
75
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    djs-ticket-esmile

An easy to setup ticket system discord bot for Djs v12/v13, works for unlimited servers


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Installation

npm i djs-ticket-esmile

Delcaration

const tk = require('djs-ticket-esmile')

Initialising (Mandatory)

tk.start(client)

Setup Ticket

tk.setup(Message,ChannelID)
  • Message: (Object) is the object provided in client.on('messageCreate') event, if you want to use with slash command, you can provide Interaction which is provided in client.on('InteractionCreate') event in Djs v13.
  • ChannelID: (String) is the channelID where you want bot to send the message to which people can react to and open a ticket, more customisation soon...

Closing Ticket

tk.close(Message,Transcript)
  • Message: (Object) is the object provided in client.on('messageCreate') event, if you want to use with slash command, you can provide Interaction which is provided in client.on('InteractionCreate') event in Djs v13.
  • Transcript: (Boolean) If you want bot to send transcript, set this parameter as true.

⚠️ This function will only work in a ticket channel

Keywords

FAQs

Last updated on 25 Nov 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc