moom825 / Discord-RAT

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

Not working Help !!! (No response) #46

Open rohanraj-aipro opened 1 year ago

rohanraj-aipro commented 1 year ago

discord

i posted !volumemax comand and many other commands. Not working.

is there a format for command that i am missing ?

ghost commented 1 year ago

have you enabled bot intents?

ghost commented 1 year ago

make shure the bot intents look like this: image

rohanraj-aipro commented 1 year ago

image

I have enabled all of them now. Still No response

ghost commented 1 year ago

I dont really know what is happening. Try making a new bot making shure you follow this steps: First enable the intents as i showed. Then in the oauth section select bot image then administrator permissions. image Get the bot into your server. Then uninstall and reinstall the requirements of the script. And run the script with the token in the line 21. Dont run the script in a vm or smth like that. When doing this do it slowly to make shure you dont miss a step

ghost commented 1 year ago

if it still doesn't work then im out of ideas

rohanraj-aipro commented 1 year ago

Still not working.

Output in Pycharm:-

[2022-12-04 21:24:57] [INFO ] discord.client: logging in using static token [2022-12-04 21:24:59] [INFO ] discord.gateway: Shard ID None has connected to Gateway (Session ID: 485ed6199f9003fcbc6d4c096702eb70).

rohanraj-aipro commented 1 year ago

can you post a pic of what it looks when you type any command ?

rohanraj-aipro commented 1 year ago

and, can you also post the output of the python file ?

BTW, I am using interpreter. not Compiler

mategol commented 1 year ago

Maybe problem is in this if statement?

@client.event
async def on_message(message):
    if message.channel.name != channel_name:
        pass
    else:
        # further instructions

because in all cases, program ignores message, and doing something only if this condition is True. I'm additionally curious why author didnt just

@client.event
async def on_message(message):
    if message.channel.name == channel_name:
        # further instructions
ege75753 commented 1 year ago

didnt work i tried it all @mategol @supergarixd

ege75753 commented 1 year ago

so hello @rohanraj-aipro i dont know if you will still find this helpfull but i found how to make it work so first u got to change the client = with all this

intents = discord.Intents.default() client = discord.Client(intents=intents) intents.message_content = True bot = commands.Bot(command_prefix='!', intents=intents)

and it should work thank you :)