Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nodemon] starting `node start index.js`
- bin
- channel
- docs
- elaborate
- faq
- format
- help
- hire
- just-ask
- mods
- partner
- patience
- ping
- prune
- rules
- server
- share-code
- wiki
- wrong-channel
- Sakura Moon#1301 is logged in and ready!
- I have been removed from: Erin's Server (id: 718253204147798047)
- New guild joined: Erin's Server (id: 718253204147798047). This guild has 14 members!
- TypeError [INVALID_TYPE]: Supplied parameter is not a User nor a Role.
- at Function.resolve (/root/sakura/node_modules/discord.js/src/structures/PermissionOverwrites.js:177:28)
- at /root/sakura/node_modules/discord.js/src/managers/GuildChannelManager.js:109:81
- at Array.map (<anonymous>)
- at GuildChannelManager.create (/root/sakura/node_modules/discord.js/src/managers/GuildChannelManager.js:109:51)
- at Client.<anonymous> (/root/sakura/index.js:50:20)
- at Client.emit (events.js:314:20)
- at Object.module.exports [as GUILD_CREATE] (/root/sakura/node_modules/discord.js/src/client/websocket/handlers/GUILD_CREATE.js:33:14)
- at WebSocketManager.handlePacket (/root/sakura/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
- at WebSocketShard.onPacket (/root/sakura/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
- at WebSocketShard.onMessage (/root/sakura/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10) {
- [Symbol(code)]: 'INVALID_TYPE'
- }
- (node:25652) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'id' of undefined
- at Client.<anonymous> (/root/sakura/index.js:75:168)
- at Client.emit (events.js:314:20)
- at Object.module.exports [as GUILD_CREATE] (/root/sakura/node_modules/discord.js/src/client/websocket/handlers/GUILD_CREATE.js:33:14)
- at WebSocketManager.handlePacket (/root/sakura/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
- at WebSocketShard.onPacket (/root/sakura/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
- at WebSocketShard.onMessage (/root/sakura/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
- at WebSocket.onMessage (/root/sakura/node_modules/ws/lib/event-target.js:132:16)
- at WebSocket.emit (events.js:314:20)
- at Receiver.receiverOnMessage (/root/sakura/node_modules/ws/lib/websocket.js:825:20)
- at Receiver.emit (events.js:314:20)
- (node:25652) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
- (node:25652) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
- (node:25652) UnhandledPromiseRejectionWarning: Error: Duplicate entry '718253204147798047' for key 'PRIMARY'
- at PromiseConnection.query (/root/sakura/node_modules/mysql2/promise.js:92:22)
- at /root/sakura/index.js:40:18
- at /root/sakura/node_modules/@discordjs/collection/dist/index.js:220:20
- at Function.from (<anonymous>)
- at Map.map (/root/sakura/node_modules/@discordjs/collection/dist/index.js:218:22)
- at Client.<anonymous> (/root/sakura/index.js:39:25)
- at Client.emit (events.js:314:20)
- at Object.module.exports [as GUILD_CREATE] (/root/sakura/node_modules/discord.js/src/client/websocket/handlers/GUILD_CREATE.js:33:14)
- at WebSocketManager.handlePacket (/root/sakura/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
- at WebSocketShard.onPacket (/root/sakura/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
- (node:25652) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
- TextChannel {
- type: 'text',
- deleted: false,
- id: '817439796770242591',
- name: 'submissions',
- rawPosition: 2,
- parentID: null,
- permissionOverwrites: Collection [Map] {},
- topic: null,
- nsfw: false,
- lastMessageID: null,
- rateLimitPerUser: 0,
- lastPinTimestamp: null,
- guild: Guild {
- members: GuildMemberManager {
- cacheType: [class Collection extends Collection],
- cache: [Collection [Map]],
- guild: [Circular]
- },
- channels: GuildChannelManager {
- cacheType: [class Collection extends Collection],
- cache: [Collection [Map]],
- guild: [Circular]
- },
- roles: RoleManager {
- cacheType: [class Collection extends Collection],
- cache: [Collection [Map]],
- guild: [Circular]
- },
- presences: PresenceManager {
- cacheType: [class Collection extends Collection],
- cache: Collection [Map] {}
- },
- voiceStates: VoiceStateManager {
- cacheType: [class Collection extends Collection],
- cache: Collection [Map] {},
- guild: [Circular]
- },
- deleted: false,
- name: "Erin's Server",
- icon: 'fe6df304850afc063d8ed4019bcac8a3',
- splash: null,
- discoverySplash: null,
- region: 'us-south',
- memberCount: 14,
- large: false,
- features: [],
- applicationID: null,
- afkTimeout: 300,
- afkChannelID: null,
- systemChannelID: '718253204747321387',
- embedEnabled: undefined,
- premiumTier: 0,
- premiumSubscriptionCount: 0,
- verificationLevel: 'NONE',
- explicitContentFilter: 'DISABLED',
- mfaLevel: 0,
- joinedTimestamp: 1614963234735,
- defaultMessageNotifications: 'ALL',
- systemChannelFlags: SystemChannelFlags { bitfield: 0 },
- maximumMembers: 250000,
- maximumPresences: null,
- approximateMemberCount: null,
- approximatePresenceCount: null,
- vanityURLCode: null,
- vanityURLUses: null,
- description: null,
- banner: null,
- id: '718253204147798047',
- available: true,
- rulesChannelID: null,
- publicUpdatesChannelID: null,
- preferredLocale: 'en-US',
- ownerID: '455926927371534346',
- emojis: GuildEmojiManager {
- cacheType: [class Collection extends Collection],
- cache: [Collection [Map]],
- guild: [Circular]
- },
- shardID: 0
- },
- messages: MessageManager {
- cacheType: [class LimitedCollection extends Collection],
- cache: LimitedCollection [Map] { maxSize: 200 },
- channel: [Circular]
- },
- _typing: Map {}
- }
- ReferenceError: message is not defined
- at /root/sakura/index.js:70:9
- at processTicksAndRejections (internal/process/task_queues.js:97:5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement