Comments (11)
have you enabled bot intents?
from discord-rat.
make shure the bot intents look like this:
from discord-rat.
I have enabled all of them now.
Still No response
from discord-rat.
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
then administrator permissions.
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
from discord-rat.
if it still doesn't work then im out of ideas
from discord-rat.
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).
from discord-rat.
can you post a pic of what it looks when you type any command ?
from discord-rat.
and, can you also post the output of the python file ?
BTW, I am using interpreter. not Compiler
from discord-rat.
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
from discord-rat.
didnt work i tried it all @mategol @supergarixd
from discord-rat.
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 :)
from discord-rat.
Related Issues (20)
- Python to Exe Error HOT 5
- Compile issue HOT 1
- Cryptodome Error HOT 1
- browser cookie
- AttributeError: 'DMChannel' object has no attribute 'name' HOT 8
- Unhandled Exception in Script HOT 5
- raise RemoteDisconnected("Remote end closed connection without" HOT 1
- Intents Error HOT 3
- Yo sup when new discord? HOT 1
- Drat
- How to fix the script HOT 2
- Duplicates sessions, is generally very buggy.
- NEEDS NEW DISCORD LINK
- [ANSWER] How to fix the INTENTS error HOT 2
- guys pls help HOT 1
- This bot has a lot of issues HOT 5
- how can i have admin permissions?
- IT DOESNT DO SHIT HOT 2
- how da hell do i contact this guy the discord server doesnt let me in
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-rat.