aoede icon indicating copy to clipboard operation
aoede copied to clipboard

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

Open MasterModz1243 opened this issue 2 years ago • 44 comments

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 avatar Feb 01 '23 21:02 MasterModz1243

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

MasterModz1243 avatar Feb 01 '23 21:02 MasterModz1243

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

StellarJay77 avatar Feb 02 '23 14:02 StellarJay77

@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 avatar Feb 02 '23 22:02 MasterModz1243

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

MasterModz1243 avatar Feb 02 '23 22:02 MasterModz1243

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?

codetheweb avatar Feb 05 '23 20:02 codetheweb

@codetheweb image

MasterModz1243 avatar Feb 05 '23 21:02 MasterModz1243

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: [] } }))

MasterModz1243 avatar Feb 05 '23 22:02 MasterModz1243

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

StellarJay77 avatar Feb 05 '23 22:02 StellarJay77

@StellarJay77 yeah lol

MasterModz1243 avatar Feb 05 '23 22:02 MasterModz1243

deleted em now

MasterModz1243 avatar Feb 05 '23 22:02 MasterModz1243

thx

MasterModz1243 avatar Feb 05 '23 22:02 MasterModz1243

it has the code grant but still comes up with image

MasterModz1243 avatar Feb 05 '23 22:02 MasterModz1243

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

StellarJay77 avatar Feb 05 '23 22:02 StellarJay77

wdym?

MasterModz1243 avatar Feb 05 '23 22:02 MasterModz1243

image @StellarJay77

MasterModz1243 avatar Feb 05 '23 22:02 MasterModz1243

You need to generate an html link and invite your bot to your server. You select bot and system.control then I just gave my bot admin rights. Copy and paste the invite link into your browser and authorize the bot for your server.

On Sun, Feb 5, 2023, 2:34 p.m. Fizz @.***> wrote:

[image: image] https://user-images.githubusercontent.com/88443296/216849798-699bbb9a-1a46-48ef-a4d0-2f0c74d658e7.png @StellarJay77 https://github.com/StellarJay77

— Reply to this email directly, view it on GitHub https://github.com/codetheweb/aoede/issues/34#issuecomment-1418283586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVOEJVVM3VF5UBKS5DRG4LWWATI3ANCNFSM6AAAAAAUOHVPAA . You are receiving this because you were mentioned.Message ID: @.***>

StellarJay77 avatar Feb 05 '23 22:02 StellarJay77

@StellarJay77 wheres system.control? image

MasterModz1243 avatar Feb 05 '23 22:02 MasterModz1243

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 https://github.com/codetheweb/aoede/issues/34#issuecomment-1418287888, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVOEJVOA3XC54XQWRLKMJ3WWAVXVANCNFSM6AAAAAAUOHVPAA . You are receiving this because you were mentioned.Message ID: @.***>

StellarJay77 avatar Feb 05 '23 23:02 StellarJay77

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 avatar Feb 05 '23 23:02 MasterModz1243

is there a specific redirect or anything i need?

MasterModz1243 avatar Feb 05 '23 23:02 MasterModz1243

Nope, just copy the generated URL into a browser, sign into your discord account and assign the bot to a server you have admin access to.

On Sun, Feb 5, 2023, 3:10 p.m. Fizz @.***> wrote:

is there a specific redirect or anything i need?

— Reply to this email directly, view it on GitHub https://github.com/codetheweb/aoede/issues/34#issuecomment-1418291441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVOEJQRYKAVVXZTTKXGWWTWWAXOBANCNFSM6AAAAAAUOHVPAA . You are receiving this because you were mentioned.Message ID: @.***>

StellarJay77 avatar Feb 06 '23 00:02 StellarJay77

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

MasterModz1243 avatar Feb 06 '23 00:02 MasterModz1243

You have to have admin or owner privilages to the server you are trying to add the bot to.

On Sun, Feb 5, 2023, 4:20 p.m. Fizz @.***> wrote:

@StellarJay77 https://github.com/StellarJay77 I tried that it goes to the redirect and just doesn't add the bot

— Reply to this email directly, view it on GitHub https://github.com/codetheweb/aoede/issues/34#issuecomment-1418313741, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVOEJUS2DVMF7THXMR7SRTWWA7U5ANCNFSM6AAAAAAUOHVPAA . You are receiving this because you were mentioned.Message ID: @.***>

StellarJay77 avatar Feb 06 '23 00:02 StellarJay77

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

MasterModz1243 avatar Feb 06 '23 00:02 MasterModz1243

Not sure then if the bot is not being added to your server.

On Sun, Feb 5, 2023, 4:44 p.m. Fizz @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/codetheweb/aoede/issues/34#issuecomment-1418327877, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVOEJX7DINDJZNT2V24WYLWWBCOPANCNFSM6AAAAAAUOHVPAA . You are receiving this because you were mentioned.Message ID: @.***>

StellarJay77 avatar Feb 06 '23 00:02 StellarJay77

Hopefully @codetheweb or someone can help then

MasterModz1243 avatar Feb 06 '23 00:02 MasterModz1243

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.)

codetheweb avatar Feb 07 '23 04:02 codetheweb

It 8snt I checked the offline and the logs

MasterModz1243 avatar Feb 07 '23 07:02 MasterModz1243

When using the url from the console https://user-images.githubusercontent.com/88443296/217313653-f10a05e3-339b-4e2e-b553-0c35da3af854.mp4 When making own link https://user-images.githubusercontent.com/88443296/217315338-20e21639-a1eb-4ce0-bae9-18ce57e59851.mp4

MasterModz1243 avatar Feb 07 '23 17:02 MasterModz1243

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

StellarJay77 avatar Feb 07 '23 20:02 StellarJay77