You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting Bot
Initializing Bot
Loading Commands
Loading Raw Commands
Loading Event Listeners
➕ Adding Command: echo
➕ Adding Command: ping
➕ Adding Command: rps
➕ Adding Command: server
➕ Adding Command: user
➕ Adding Raw Command: add-slash-command
➕ Adding Event Listener: interactionCreate
➕ Adding Event Listener: ready
Connected to MongoDB
Ready! Logged in as Ron_Bot#0527
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general
/rps
User chose: rock - Bot chose: scissor - Winner: ronniegerag#5753
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general
/rps
User chose: rock - Bot chose: paper - Winner: Ron_Bot#0527
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general
/rps
User chose: scissor - Bot chose: rock - Winner: Ron_Bot#0527
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general
/rps
User chose: paper - Bot chose: rock - Winner: ronniegerag#5753
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general
/rps
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #new-channel
/rps
User chose: scissor - Bot chose: paper - Winner: ronniegerag#5753
C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:72
i.client.users.cache.get(winner).tag
^
TypeError: Cannot read properties of undefined (reading 'tag')
at RPSCommand. (C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:72:49)
at Generator.next ()
at C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:8:71
at new Promise ()
at __awaiter (C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:4:12)
at InteractionCollector. (C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:52:43)
at InteractionCollector.emit (node:events:402:35)
at InteractionCollector.emit (node:domain:475:12)
at InteractionCollector.handleCollect (C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\node_modules\discord.js\src\structures\interfaces\Collector.js:108:12)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
The text was updated successfully, but these errors were encountered:
Crash output:
The text was updated successfully, but these errors were encountered: