FKLC / WhatsAppToDiscord

WhatsAppToDiscord is a Discord bot that uses WhatsApp Web as a bridge between Discord and WhatsApp.
https://fklc.github.io/WhatsAppToDiscord/
MIT License
264 stars 81 forks source link

Receiving an error after inviting bot to the server #200

Open Ferbook3000 opened 3 months ago

Ferbook3000 commented 3 months ago

logs.txt

{"level":30,"time":1723252411478,"pid":1832,"hostname":"DESKTOP-KBL10G9","version":"v0.10.26","msg":"Loaded settings."} {"level":30,"time":1723252411478,"pid":1832,"hostname":"DESKTOP-KBL10G9","version":"v0.10.26","msg":"Changed auto save interval."} {"level":30,"time":1723252411479,"pid":1832,"hostname":"DESKTOP-KBL10G9","version":"v0.10.26","msg":"Loaded contacts."} {"level":30,"time":1723252411479,"pid":1832,"hostname":"DESKTOP-KBL10G9","version":"v0.10.26","msg":"Loaded chats."} {"level":30,"time":1723252411479,"pid":1832,"hostname":"DESKTOP-KBL10G9","version":"v0.10.26","msg":"Loaded last messages."} {"level":30,"time":1723252411870,"pid":1832,"hostname":"DESKTOP-KBL10G9","version":"v0.10.26","msg":"Discord client started."} {"level":50,"time":1723252412319,"pid":1832,"hostname":"DESKTOP-KBL10G9","version":"v0.10.26","err":{"type":"DiscordAPIError","message":"Missing Access","stack":"DiscordAPIError: Missing Access\n at RequestHandler.execute (C:\snapshot\WhatsAppToDiscord\out.js)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async RequestHandler.push (C:\snapshot\WhatsAppToDiscord\out.js)\n at async GuildChannelManager.edit (C:\snapshot\WhatsAppToDiscord\out.js)\n at async Object.repairChannels (C:\snapshot\WhatsAppToDiscord\out.js)\n at async C:\snapshot\WhatsAppToDiscord\out.js","name":"DiscordAPIError","method":"patch","path":"/channels/1271637520622293127","code":50001,"httpStatus":403,"requestData":{"json":{"name":"control-room","parent_id":"1271637519661928532"},"files":[]}},"msg":"Missing Access"} {"level":30,"time":1723252412320,"pid":1832,"hostname":"DESKTOP-KBL10G9","version":"v0.10.26","msg":"Exiting!"}

Ferbook3000 commented 3 months ago

qr code never shows up basically

Bot join the server, creates the channel, but doesn't send the qr code or react commands

FKLC commented 2 months ago

Are you sure that all the required permissions were granted to the bot?