KarlOfDuty / SCPDiscord

A NWAPI plugin which adds remote interaction to an SCP:SL server through Discord.
https://karlofduty.com
GNU General Public License v3.0
14 stars 13 forks source link

[BUG] Bot unable to start with dotnet 7 #75

Closed mrnoahfink closed 1 year ago

mrnoahfink commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Open Folder where you kept SCPDiscord
  2. Open the terminal then do ./SCPDiscordBot
  3. Hopefully starts, but nah. I set the permission folder to 777 and install dotnet 7, then did the same thing with the same error.

Screenshots If applicable, add screenshots to help explain your problem.

IMG_5799

Setup (please complete the following information):

KarlOfDuty commented 1 year ago

You are trying to run a directory, you have to run the actual application.

mrnoahfink commented 1 year ago

I got to work but seems bot not turning online, I will keep looking into this.

mrnoahfink commented 1 year ago

Stuck at this.

unnamed

KarlOfDuty commented 1 year ago

I have never seen this happen before, have you made any code changes? Have you tried it using the release version?

mrnoahfink commented 1 year ago

The code itself like config,yml, etc from Master branch. The SCPDiscordBot is from release version.

KarlOfDuty commented 1 year ago

Well the config should be the same in the release version and the master branch but why did you get the config from there? The bot creates it if it doesn't exist as it says in the guide.

Do you have a firewall blocking outgoing connections maybe? I really don't know what could be wrong here, at this point it hasn't really done anything yet that even can go wrong.

KarlOfDuty commented 1 year ago

Also try turning debug mode on in the config. And send your config here without the token in it.

KarlOfDuty commented 1 year ago

I downloaded the latest release and ran it now and only set the bot token and it seems to work fine: image