fix ticket cmd perms, updated djs & added dump cmd

This commit is contained in:
DJj123dj
2024-09-04 20:13:13 +02:00
parent 39099a0dfe
commit 55bcff8030
10 changed files with 113 additions and 63 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ export const registerCommandResponders = async () => {
}),
new api.ODWorker("openticket:panel",0,async (instance,params,source,cancel) => {
const {guild,channel,user} = instance
if (!guild){
if (!guild || instance.channel.type == discord.ChannelType.GroupDM){
//error
instance.reply(await openticket.builders.messages.getSafe("openticket:error-not-in-guild").build(source,{channel:instance.channel,user:instance.user}))
return cancel()