Simple Discord Link Bot

Simple Discord Link Bot

1M Downloads

[1.20.4 Fabric Server] Crashing on Startup

Jh16 opened this issue ยท 6 comments

commented

Hello, I recently updated to 1.20.4 from 1.20.1 and went through the appropriate V2 to V3 migration, but something isn't quite working right.
Until then, I'll not have the mod.

Here is a pastebin of the log:
https://pastebin.com/Cqc0aYxU

Any help would be appreciated!
Thanks

Edit:
Using the 3.0.1 version from Modrinth

commented

Caused by: shadow.hypherionmc.moonconfig.core.conversion.InvalidValueException: Unexpected element of type class java.lang.Long in collection of objects

I suspect this is something we missed in the migration guide, but channel ids now need to be wrapped in "".

So if the id was 12345657 in V2, it must be "12345657" in v3

commented

Okay, let me check through all that and I will post back!

commented

All of those were in "".

When I updated, I let the mod create an empty config file for me. That way, I could copy and paste what I needed to.
Perhaps it is something that I overlooked. It wouldn't be the comma and space to separate the role ids would it?

Edit:
Put config, minus bot token and discord into pastebin. Maybe you'll see something there that is incorrect.
https://pastebin.com/Gcqz1yks

commented

requiredRoles = [1092609240293707783, 1063297870574399488, 1063294577349492800]
deniedRoles = [1065533343824887818]

These all need to be in ""

For reference: SDLink Beta Docs

commented

Oooh, I must have missed that initially facepalm

commented

Cheers!