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

Feature request #57

Open
SBTopZZZ-LG opened this issue Jul 19, 2022 · 1 comment
Open

Feature request #57

SBTopZZZ-LG opened this issue Jul 19, 2022 · 1 comment

Comments

@SBTopZZZ-LG
Copy link

SBTopZZZ-LG commented Jul 19, 2022

I was trying to automate things (stuff like changing my status to "Playing AFK" whenever I am going AFK, or anything else) by writing commands to a batch file, but I simply can't do it because I cannot pass arguments to DiscordConsole executable (the arguments being commands that will be executed when it starts). Also it keeps asking for token everytime, it would be very convenient if it cached previous tokens and tried re-using them, and then prompting to re-enter if it failed to do so.

@Mnpn
Copy link
Member

Mnpn commented Jul 25, 2022

Hi! Sorry for not replying sooner. To skip entering the token every time, you can either pass it with -t "stuff" or (preferably) create a file called .autorun in the same directory as your DiscordConsole executable, with your token on the first line of the file prefixed by a : (e.g. :user myverylongtokengoeshere.

As for passing commands to run, are the arguments not working at all for you? There is -x which can be used like -x "status idle", but I'm thinking that maybe since you're on Windows you might have to use a / instead of a -, e.g. DiscordConsole.exe /x "status idle", could you try that?

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

2 participants