You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client.run("token")
Everytime I run this code , it says unauthorised improper token has been passed with httpexception: 401
I checked my account's token and it's valid but still it's saying the same
I have aiohttp: 3.7.4
Discord : 1.7.3
Discord.py : 1.7.3
Discord.py-self : 2.0.0
Discord-protos : 0.0.2
Can anyone suggest me changes I have checked there's nothing expect these packages no nextcord , selfcord , pycord etc .
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there , I need. A little help since I think I'm stuck in a loophole or something this is my code :
import discord
from discord.ext import commands
client = commands.Bot(command_prefix='>', self_bot=True)
@client.command()
async def ping(ctx):
await ctx.send('pong')
client.run("token")
Everytime I run this code , it says unauthorised improper token has been passed with httpexception: 401
I checked my account's token and it's valid but still it's saying the same
I have aiohttp: 3.7.4
Discord : 1.7.3
Discord.py : 1.7.3
Discord.py-self : 2.0.0
Discord-protos : 0.0.2
Can anyone suggest me changes I have checked there's nothing expect these packages no nextcord , selfcord , pycord etc .
Beta Was this translation helpful? Give feedback.
All reactions