Comments (10)
Have you set the id of logChannel
in your config? Make sure the channel exists if you have.
from bot.
Yes, I have but it's private
from bot.
The bot needs read & send messages permissions in that channel.
from bot.
Yes I know, but if he hasn't entered, how can I give it to him? Do I put it directly from the bot creation on Discord?
EDIT: Putted a new channel ID of a public channel and still doesn't work.
from bot.
Have you not invited the bot to the server?
Invite the bot with this link: https://discord.com/oauth2/authorize?client_id=ID-OF-YOUR-BOT&permissions=27664&scope=bot but change ID-OF-YOUR-BOT
to the id from https://discord.com/developers/applications/
from bot.
The bot wasn't in the Discord Server, it was my bad. But now I've another error (It has all permissions):
TypeError: Cannot read property 'member' of undefined
at Client.client.once (/home/ticketbot/index.js:109:40)
at Object.onceWrapper (events.js:286:20)
at Client.emit (events.js:203:15)
at WebSocketConnection.triggerReady (/home/ticketbot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:128:17)
at WebSocketConnection.checkIfReady (/home/ticketbot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:144:61)
at GuildCreateHandler.handle (/home/ticketbot/node_modules/discord.js/src/client/websocket/packets/handlers/GuildCreate.js:13:31)
at WebSocketPacketManager.handle (/home/ticketbot/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:108:65)
at WebSocketConnection.onPacket (/home/ticketbot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:336:35)
at WebSocketConnection.onMessage (/home/ticketbot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:299:17)
at WebSocket.onMessage (/home/ticketbot/node_modules/ws/lib/event-target.js:120:16)
from bot.
Make sure you have discord.js v11 not v12: npm i [email protected]
from bot.
Same problem
from bot.
Another question: can we talk in Discord? Danilo#1062
from bot.
Join my support server: https://discord.gg/pXc9vyC
from bot.
Related Issues (20)
- Separate internal and external origins for SvelteKit HOT 1
- [BUG] Ticket members
- [BUG] SyntaxError: Unexpected token < in JSON HOT 1
- [BUG] TypeError [InvalidType]: Supplied parameter is not a User nor a Role
- Web Page not working and showing a error HOT 2
- [BUG] Error: EACCES: permission denied, mkdir 'user/uploads' on docker swarm HOT 1
- Add Umeaboy as a contributor HOT 5
- [BUG] Invalid request body HOT 3
- [BUG] Working hours: `Cannot read properties of undefined (reading '0')` HOT 1
- [BUG] Time periods stored as milliseconds can be too large for the field type
- [BUG] Moving a ticket into a newly created category results in an error HOT 3
- Use custom status HOT 1
- Gateway sharding HOT 1
- Optional `opening_message` text
- Support Bot HOT 3
- Move some general settings to categories
- Editing categories resets command permission overrides
- `/new` with invalid `references` value causes unexpected error
- [BUG] Opening message preview can break the category settings page
- Add padding to ticket number HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bot.