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

Hello botgram support #37

Open
oxosec opened this issue Sep 19, 2020 · 6 comments
Open

Hello botgram support #37

oxosec opened this issue Sep 19, 2020 · 6 comments

Comments

@oxosec
Copy link

oxosec commented Sep 19, 2020

Hi

I have one question is /token or /grant command save credentials as text file for remebering the user ?
If not then is their any way to give user access through the config.json file same method for the /resize command
I'm asking this because my machine reboots every 24h

Thankyou

@alexeyvpn
Copy link

hi, did you find any answer?

@oxosec
Copy link
Author

oxosec commented Jan 18, 2021

hi, did you find any answer?

Yes bro i got just edit server.js file line 80
size: {columns: 40, rows: 20}, edit like
size: {columns: 40, rows: 40},

@bendschs
Copy link

bendschs commented Jun 5, 2022

and then? add what to the config.json?
(i have the same problem, shell-bot does not seem to remember granted users over reboots).

@3guboff
Copy link

3guboff commented Oct 21, 2022

and then? add what to the config.json? (i have the same problem, shell-bot does not seem to remember granted users over reboots).

Hey, did you find a solution for this?

@bendschs
Copy link

yes, i just added another entry to the config.json

config.json

 {
     "authToken": "yyyyyy:xxxxxxxxxxxxxxxxxxxxxxx",
     "owner": yyyyy
 }

y=user number
x=auth token

@tshwangq
Copy link

add your telegram userid to granted array in server.js will do the trick

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

5 participants