Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cant see if this has been fixed but it seems to not like my user id #34

Open
MasterModz1243 opened this issue Feb 1, 2023 · 44 comments

Comments

@MasterModz1243
Copy link

Error: Error { tag: Tag(Default, 1), profile: Some(Profile(Uncased { string: "default" })), metadata: Some(Metadata { name: "TOML file", source: Some(File("C:\Users\me\Desktop\NotHax\aeode\config.toml")), provide_location: Some(Location { file: "src\lib\config.rs", line: 22, col: 14 }), interpolater: }), path: ["DISCORD_USER_ID"], kind: InvalidType(Str("629700611994157057"), "u64"), prev: None }

@MasterModz1243
Copy link
Author

this is my toml config
DISCORD_TOKEN="Token" SPOTIFY_USERNAME="aa" SPOTIFY_PASSWORD="a" DISCORD_USER_ID="629700611994157057"

@StellarJay77
Copy link

StellarJay77 commented Feb 2, 2023

I had this same issue, turns out you don't need to put the quotation marks around the DISCORD_USER_ID

@MasterModz1243
Copy link
Author

@StellarJay77 now im getting Error: Error { tag: Tag::Default, profile: Some(Profile(Uncased { string: "default" })), metadata: None, path: [], kind: DuplicateField("discord_token"), prev: None }

@MasterModz1243
Copy link
Author

Error: Error { tag: Tag::Default, profile: Some(Profile(Uncased { string: "default" })), metadata: None, path: [], kind: DuplicateField("discord_token"), prev: None }

@codetheweb
Copy link
Owner

Just to be clear, is the toml config all on the same line or is each key pair on a separate line like the example?

@MasterModz1243
Copy link
Author

@codetheweb
image

@MasterModz1243
Copy link
Author

Error: Error { tag: Tag::Default, profile: Some(Profile(Uncased { string: "default" })), metadata: None, path: [], kind: DuplicateField("discord_token"), prev: None }

this was fixed by putting it in lower case but now im getting
$ '/c/Users/Fizz/Desktop/aoede/windows-latest-aoede.exe' Client ended: Http(UnsuccessfulRequest(ErrorResponse { status_code: 401, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("discord.com")), port: None, path: "/api/v10/users/@me", query: None, fragment: None }, error: DiscordJsonError { code: 0, message: "401: Unauthorized", errors: [] } }))

@StellarJay77
Copy link

Did you try the other method using setx? If so, you may need to go into windows environment variables and delete the environment variable you created. Win+R > "C:\Windows\system32\rundll32.exe" sysdm.cpl,EditEnvironmentVariables

@MasterModz1243
Copy link
Author

@StellarJay77 yeah lol

@MasterModz1243
Copy link
Author

deleted em now

@MasterModz1243
Copy link
Author

thx

@MasterModz1243
Copy link
Author

it has the code grant but still comes up with
image

@StellarJay77
Copy link

Doesn't look like you authorized or invited your bot to your discord sever.

@MasterModz1243
Copy link
Author

wdym?

@MasterModz1243
Copy link
Author

image
@StellarJay77

@StellarJay77
Copy link

StellarJay77 commented Feb 5, 2023 via email

@MasterModz1243
Copy link
Author

@StellarJay77 wheres system.control?
image

@StellarJay77
Copy link

StellarJay77 commented Feb 5, 2023 via email

@MasterModz1243
Copy link
Author

Sorry applications.commands

On Sun, Feb 5, 2023, 2:55 p.m. Fizz @.> wrote: @StellarJay77 https://github.com/StellarJay77 wheres system.control? [image: image] https://user-images.githubusercontent.com/88443296/216850696-f37641af-d7c1-4d9e-9ce9-6b6916287301.png — Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVOEJVOA3XC54XQWRLKMJ3WWAVXVANCNFSM6AAAAAAUOHVPAA . You are receiving this because you were mentioned.Message ID: @.>

ok i did this but now it isnt adding to the servers

@MasterModz1243
Copy link
Author

is there a specific redirect or anything i need?

@StellarJay77
Copy link

StellarJay77 commented Feb 6, 2023 via email

@MasterModz1243
Copy link
Author

@StellarJay77 I tried that it goes to the redirect and just doesn't add the bot

@StellarJay77
Copy link

StellarJay77 commented Feb 6, 2023 via email

@MasterModz1243
Copy link
Author

I tried a server I'm owner on and a server I'm admin on and neither worked

@StellarJay77
Copy link

StellarJay77 commented Feb 6, 2023 via email

@MasterModz1243
Copy link
Author

Hopefully @codetheweb or someone can help then

@codetheweb
Copy link
Owner

It might be getting added to your guild, but it appears as offline until you're in a voice channel--could you double-check it's not just offline? (This behavior is confusing and I think it should probably be changed.)

@MasterModz1243
Copy link
Author

It 8snt I checked the offline and the logs

@StellarJay77
Copy link

For your own link you chose applications.commands.permissions.uupdate not applications.commands which is in the last column on the right.

@MasterModz1243
Copy link
Author

yh swapped but does the same thing

@StellarJay77
Copy link

This isnt an issue with the application, it's with your bot being authenticated with your discord server. I noted that it wasn't requesting admin access either. It's like you don't have permissions on that account to add bots to your server.

@MasterModz1243
Copy link
Author

This isnt an issue with the application, it's with your bot being authenticated with your discord server. I noted that it wasn't requesting admin access either. It's like you don't have permissions on that account to add bots to your server.

how tf does that work lmao i tried on multiple servers

@StellarJay77
Copy link

Don't know. I would suggest bringing it up in the discord community.

@MasterModz1243
Copy link
Author

Don't know. I would suggest bringing it up in the discord community.

hhmm, alright

@MasterModz1243
Copy link
Author

Tried new server and new bot

8mb.video-7y6-bJsuPtNY.mp4

@StellarJay77
Copy link

So you were able to get the bot to join the server?

@MasterModz1243
Copy link
Author

no

@StellarJay77
Copy link

StellarJay77 commented Feb 7, 2023

Maybe try a different browser. You won't be able to connect your Spotify account into the discord if you can't get the bot to join the server.

@MasterModz1243
Copy link
Author

wanna add me on discord and we speak there n i just log the outcome here?
also imma try now

@MasterModz1243
Copy link
Author

the bot works (without commands) i tested it on an old bot

@StellarJay77
Copy link

I'm working at the moment but I might be able to later. The way this all works is you run the application on your PC and it acts like a bridge between your Spotify account and the bot in your discord server. The bot is told to follow your user account into the voice channel you are connected to and stream the audio from Spotify to that channel. Until you can get a bot to join your discord server you won't be able to do anything.

@MasterModz1243
Copy link
Author

I'm working at the moment but I might be able to later. The way this all works is you run the application on your PC and it acts like a bridge between your Spotify account and the bot in your discord server. The bot is told to follow your user account into the voice channel you are connected to and stream the audio from Spotify to that channel. Until you can get a bot to join your discord server you won't be able to do anything.

Yeah i tried it on one of my old bot tokens that was already in the server and it did what it said on the box lol

@MasterModz1243
Copy link
Author

i think its a bug with my dev acc cuz i tried adding it from my alt and it didnt work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants