moom825 / Discord-RAT

Discord Remote Administration Tool fully written in Python3
240 stars 50 forks source link

Issue running the .py #13

Closed antythedeveloper closed 2 years ago

antythedeveloper commented 2 years ago

So when I run the .py file it just closes after a few seconds, how do I fix this?

moom825 commented 2 years ago

try renaming .py to .pyw

On Thu., Oct. 28, 2021, 8:43 p.m. idkthing, @.***> wrote:

So when I run the .py file it just closes after a few seconds, how do I fix this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/moom825/Discord-RAT/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/APCSZAQBRXJL6XSO67GZ653UJHUZLANCNFSM5G6EHTSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

antythedeveloper commented 2 years ago

Now it doesn't even open.

antythedeveloper commented 2 years ago

I have everything installed too, this is a problem for other .py files too

moom825 commented 2 years ago

open cmd in the current directory and type, python name-of-file.py

On Thu., Oct. 28, 2021, 9:13 p.m. idkthing, @.***> wrote:

I have everything installed too, this is a problem for other .py files too

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/moom825/Discord-RAT/issues/13#issuecomment-954333623, or unsubscribe https://github.com/notifications/unsubscribe-auth/APCSZAQBMGOM2DELGMVX5CLUJHYLPANCNFSM5G6EHTSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

antythedeveloper commented 2 years ago

open cmd in the current directory and type, python name-of-file.py

How do I open cmd in the directory? Also the directory would be the one that has the files in it right?

moom825 commented 2 years ago

yes. and to open cmd in the current dir you would type "cmd" then press enter in this bar of file explorer image

antythedeveloper commented 2 years ago

Got this erro Screenshot 2021-10-29 165419 r

antythedeveloper commented 2 years ago

How do I fix that?

moom825 commented 2 years ago

sorry for the late response.

are you sure you put the bot token in the correct place?

antythedeveloper commented 2 years ago

Pretty sure

On Saturday, October 30, 2021, moom825 @.***> wrote:

sorry for the late response.

are you sure you put the bot token in the correct place?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/moom825/Discord-RAT/issues/13#issuecomment-955634351, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUBGNXSP5QGF6YSNQFMYEDLUJTAG3ANCNFSM5G6EHTSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

antythedeveloper commented 2 years ago

I can check later

antythedeveloper commented 2 years ago

What python version should I use?

moom825 commented 2 years ago

3.6- 3.9

antythedeveloper commented 2 years ago

I have 3.7 and 3.9

antythedeveloper commented 2 years ago

C:\Users\schutz_899830\Music\DiscordRAT\DiscordRAT>python DiscordRAT.py Traceback (most recent call last): File "DiscordRAT.py", line 1469, in client.run(token) File "C:\Users\schutz_899830\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 723, in run return future.result() File "C:\Users\schutz_899830\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 702, in runner await self.start(*args, **kwargs) File "C:\Users\schutz_899830\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 666, in start await self.connect(reconnect=reconnect) File "C:\Users\schutz_899830\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\client.py", line 563, in connect self.ws = await asyncio.wait_for(coro, timeout=60.0) File "C:\Users\schutz_899830\AppData\Local\Programs\Python\Python37\lib\asyncio\tasks.py", line 442, in wait_for return fut.result() File "C:\Users\schutz_899830\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\gateway.py", line 305, in from_client gateway = gateway or await client.http.get_gateway() File "C:\Users\schutz_899830\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\http.py", line 974, in get_gateway return value.format(data['url'], encoding, v) TypeError: string indices must be integers That is error, how do I fix?

moom825 commented 2 years ago

you put the bot token in right?

antythedeveloper commented 2 years ago

Yes

On Wednesday, November 3, 2021, moom825 @.***> wrote:

you put the bot token in right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/moom825/Discord-RAT/issues/13#issuecomment-959496347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUBGNXXRTB3VOL7K2A4BTFDUKFRB7ANCNFSM5G6EHTSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

antythedeveloper commented 2 years ago

Screenshot 2021-11-03 183830

antythedeveloper commented 2 years ago

This is a issue for most .py files too, if not all

moom825 commented 2 years ago

message me on discord. moom825#0001