v2.4.0 push 2 (first working api)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
const discord = require("discord.js")
|
||||
const api = require("../core/api/api.js")
|
||||
|
||||
module.exports = () => {
|
||||
const {client,config,events,utils} = api
|
||||
|
||||
//this code will run when the bot starts!
|
||||
|
||||
events.onTicketOpen((user,channel,guild,date,ticketdata) => {
|
||||
console.log("hello, someone opened a ticket!")
|
||||
})
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user