ethkat / tibia-ts3-teamspeakbot

:robot: Connect Tibia API with TeamSpeak 3.x Client for information purposes
21 stars 12 forks source link

TypeError: Cannot read property 'edit' of undefined #34

Open vagnerkuntz opened 4 years ago

vagnerkuntz commented 4 years ago

TypeError: Cannot read property 'edit' of undefined

error occurs when executing

yarn ts3-setup

jotavf commented 4 years ago

Instalou yarn ou npm de boa?

vagnerkuntz commented 4 years ago

Yes, I installed the normal yarn ... doing new tests I found that if you delete the channels when running ts3-setup it recreates the channels more then this error appears

jotavf commented 4 years ago

Make sure you've took a note of @Ethaan considerations:

1.- Dont delete the channel with the name of the bot (see src/utils/constants.js), because there is a chance this will break the relationship between DB and TS, if you do that, you will need to start from scratch again.

2.- There is a know bug on the parser for the command addEnemysByGuild and addFriendsByGuild, where some character are not added, this just happend in weird scenarios where there is an spceial rank on the guild, and is really hard or complex to get them.

vagnerkuntz commented 4 years ago

yes i see the note, i'm thinking about how we can fix this problem, because it recreates the tables but just can't identify her new id

Ethaan commented 4 years ago

@vagnerkuntz did you get into this? i'm planning on re-visit this bot, to make it more user friendly, even doing an small dashboard, so you guys don't really need to touch the teamspeak server and do everything on the web

vagnerkuntz commented 4 years ago

I found the problem, but I'm still not able to solve it. yes i can help to test and with basic functions