Giter VIP home page Giter VIP logo

Comments (5)

get-got avatar get-got commented on August 16, 2024

Put "userBot": true, in the credentials section. Let me know if that fixes it

from discord-downloader-go.

Serph91P avatar Serph91P commented on August 16, 2024

Put "userBot": true, in the credentials section. Let me know if that fixes it

have the same error, downloader was working before. Now it only shows this message.

from discord-downloader-go.

Serph91P avatar Serph91P commented on August 16, 2024

Put "userBot": true, in the credentials section. Let me know if that fixes it

have the same error, downloader was working before. Now it only shows this message.

ok looks like the token reset. fixed.

from discord-downloader-go.

modelfe avatar modelfe commented on August 16, 2024

I'm having this problem on Linux using a Bot Application with the following settings (in ~/discordgo/settings.json):

{
	"credentials": {
		"token": "xxxxxxxxxxxxxxxxxxx",
		"userBot": true
	},
	"admins": [
		"876274047791534100"
	],
	"adminChannels": [
		{
			"channel": "1093029617629134919"
		}
	],
	"githubUpdateChecking": true,
	"commandPrefix": "ddg ",
	"presenceEnabled": false,
	"presenceStatus": "idle",
	"channels": [
		{
			"channel": "1093022144893558837",
			"destination": "$HOME/Downloads/discordgo",
			"enabled": true,
			"save": true,
			"allowCommands": false,
			"scanEdits": true,
			"ignoreBots": false,
			"sendErrorMessages": false,
			"presenceEnabled": true,
			"reactWhenDownloadedHistory": false,
			"divideByType": true,
			"saveImages": true,
			"saveVideos": true
		}
	]
}

Then running:

cd $HOME/discordgo
$HOME/discordgo/discord-downloader-go_linux_amd64

Which results in:

2023/04/05 15:05:53 config.go:608: 	> [Settings] Loaded - bound to 1 channel, 0 categories, 0 servers, 0 users
2023/04/05 15:05:53 main.go:476: 	> [Database] Opening database...	(this can take a second...)
2023/04/05 15:05:53 main.go:506: 	> [Database] Database opened, contains 0 entries...
2023/04/05 15:05:53 main.go:664: 	> [Discord] Connecting to Discord via Token...
2023/04/05 15:05:53 main.go:614: 	> [API | Instagram] API credentials missing, the bot won't use the Instagram API.
2023/04/05 15:05:53 main.go:574: 	> [API | Twitter] API credentials missing, the bot won't use the Twitter API.
2023/04/05 15:05:55 main.go:631: 	> [Discord] Discord login failed:	websocket: close 4004: Authentication failed.
2023/04/05 15:05:55 common.go:29: 	> [EXIT IN 15 SECONDS] Uptime was 2 seconds 837 milliseconds 305 microseconds...

Any idea what's going on?

from discord-downloader-go.

get-got avatar get-got commented on August 16, 2024

I'm having this problem on Linux using a Bot Application with the following settings (in ~/discordgo/settings.json):


{

	"credentials": {

		"token": "xxxxxxxxxxxxxxxxxxx",

		"userBot": true

	},

	"admins": [

		"876274047791534100"

	],

	"adminChannels": [

		{

			"channel": "1093029617629134919"

		}

	],

	"githubUpdateChecking": true,

	"commandPrefix": "ddg ",

	"presenceEnabled": false,

	"presenceStatus": "idle",

	"channels": [

		{

			"channel": "1093022144893558837",

			"destination": "$HOME/Downloads/discordgo",

			"enabled": true,

			"save": true,

			"allowCommands": false,

			"scanEdits": true,

			"ignoreBots": false,

			"sendErrorMessages": false,

			"presenceEnabled": true,

			"reactWhenDownloadedHistory": false,

			"divideByType": true,

			"saveImages": true,

			"saveVideos": true

		}

	]

}

Then running:


cd $HOME/discordgo

$HOME/discordgo/discord-downloader-go_linux_amd64

Which results in:


2023/04/05 15:05:53 config.go:608: 	> [Settings] Loaded - bound to 1 channel, 0 categories, 0 servers, 0 users

2023/04/05 15:05:53 main.go:476: 	> [Database] Opening database...	(this can take a second...)

2023/04/05 15:05:53 main.go:506: 	> [Database] Database opened, contains 0 entries...

2023/04/05 15:05:53 main.go:664: 	> [Discord] Connecting to Discord via Token...

2023/04/05 15:05:53 main.go:614: 	> [API | Instagram] API credentials missing, the bot won't use the Instagram API.

2023/04/05 15:05:53 main.go:574: 	> [API | Twitter] API credentials missing, the bot won't use the Twitter API.

2023/04/05 15:05:55 main.go:631: 	> [Discord] Discord login failed:	websocket: close 4004: Authentication failed.

2023/04/05 15:05:55 common.go:29: 	> [EXIT IN 15 SECONDS] Uptime was 2 seconds 837 milliseconds 305 microseconds...

Any idea what's going on?

@modelfe Make sure your token hasn't been reset, sometimes that happens. If it persists maybe try the same token on a different bot application just to see if it's a problem with the application or your bot account. If it seems to be the application let me know and I'll try to figure it out.

The userBot setting was deprecated with v2, that's not effecting anything in case that was a concern, the program's ignoring it.

from discord-downloader-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.