#Cannot get *message_count* attribute from TextChannel instance
1 messages · Page 1 of 1 (latest)
Read the error
read the guide/docs
import discord
bot = discord.Bot()
@bot.slash_command()
async def hello(ctx):
await ctx.respond("Hello!")
bot.run("your token here")
welp nvm
commands.slash_command()
no, it's working, I have other problem. I can't get message_count attribute for some reason, but it exists
you have to loop the channel messages
it's not a class var
message_count doesnt exist
message_count is for threads