Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

10
AttributeError: 'Message' object has no attribute 'send'
Post Flair (click to view more posts with a particular flair)
Post Body

``` import discord from discord.ext import commands

intents = discord.Intents() intents.members = True

bot = commands.Bot(command_prefix="!", intents=intents)

intents.messages = True

@bot.event async def on_ready(): print("Bot Is Ready")

@bot.event async def on_message(ctx): if 'https://' in ctx.content: await ctx.delete() await ctx.send(f"{ctx.author.mention} Don't Send Links")

@bot.command() async def ping(ctx): await ctx.send("Pong!")

``` i did put bot.run("token")

Comments
[not loaded or deleted]

I don't think it's an issue with intents, as it isn't throwing an error related to intents

Author
Account Strength
50%
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
160
Link Karma
108
Comment Karma
7
Profile updated: 3 days ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago