aoede
aoede copied to clipboard
I cant see if this has been fixed but it seems to not like my user id
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 }
this is my toml config
DISCORD_TOKEN="Token" SPOTIFY_USERNAME="aa" SPOTIFY_PASSWORD="a" DISCORD_USER_ID="629700611994157057"
I had this same issue, turns out you don't need to put the quotation marks around the DISCORD_USER_ID
@StellarJay77 now im getting Error: Error { tag: Tag::Default, profile: Some(Profile(Uncased { string: "default" })), metadata: None, path: [], kind: DuplicateField("discord_token"), prev: None }
Error: Error { tag: Tag::Default, profile: Some(Profile(Uncased { string: "default" })), metadata: None, path: [], kind: DuplicateField("discord_token"), prev: None }
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
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: [] } }))
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 yeah lol
deleted em now
thx
it has the code grant but still comes up with
Doesn't look like you authorized or invited your bot to your discord sever.
wdym?
@StellarJay77
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 wheres system.control?
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: @.***>
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
is there a specific redirect or anything i need?
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 I tried that it goes to the redirect and just doesn't add the bot
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: @.***>
I tried a server I'm owner on and a server I'm admin on and neither worked
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: @.***>
Hopefully @codetheweb or someone can help then
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.)
It 8snt I checked the offline and the logs
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
For your own link you chose applications.commands.permissions.uupdate not applications.commands which is in the last column on the right.