Easy To Use Giveaway Bot For Discord Written In Discord.js v14. Ft. Slash Commands & Select Menus. Make Giveaways and seamlessly enjoy giveaways on your discord server with advanced features such as role and server requirements!
Describe the bug
Bot will crash everytime someone does (prefix)edit and types a letter.
To Reproduce
Steps to reproduce the behavior:
Type command edit
Reply with letter or sentance
Boom crashed with errors
Here is Error:
/home/runner/Giveaway/commands/edit.js:43
let gid = BigInt(response).toString()
^
SyntaxError: Cannot convert g!edit 1067505712705576960 to a BigInt
at BigInt ()
at MessageCollector. (/home/runner/Giveaway/commands/edit.js:43:15)
at MessageCollector.emit (node:events:513:28)
at MessageCollector.handleCollect (/home/runner/Giveaway/node_modules/discord.js/src/structures/interfaces/Collector.js:119:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
exit status 1
I expected it will give me message needs to be ID or make it so it works for last giveaway made which is much better.
Screenshots
There is more errors just I will find I am 99% sure, contact me on discord where I can tell you instantly! (yng1ne#7126)
Describe the bug Bot will crash everytime someone does (prefix)edit and types a letter.
To Reproduce Steps to reproduce the behavior:
SyntaxError: Cannot convert g!edit 1067505712705576960 to a BigInt at BigInt ()
at MessageCollector. (/home/runner/Giveaway/commands/edit.js:43:15)
at MessageCollector.emit (node:events:513:28)
at MessageCollector.handleCollect (/home/runner/Giveaway/node_modules/discord.js/src/structures/interfaces/Collector.js:119:14)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
exit status 1
I expected it will give me message needs to be ID or make it so it works for last giveaway made which is much better.
Screenshots
There is more errors just I will find I am 99% sure, contact me on discord where I can tell you instantly! (yng1ne#7126)