Jump to content

Getting problem when trying to activate Discord bot

Go to solution Solved by vorticalbox,
1 minute ago, Cuboid88 said:

Improper token has been passed.

Pretty descriptive error message there.

 

Are you sure you're passing it a bit token and not your api token?

Hey I'm a VERY simple programmer and I'm experimenting in trying to make a discord bot but am having a hard time getting online and working 

 

import discord
client = discord.Client()
client.run('SECRET TOKEN')
 

 

 I try to run this script but it gives me this error 

 

line 262, in static_login
    raise LoginFailure('Improper token has been passed.') from e
discord.errors.LoginFailure: Improper token has been passed.

ive seen a couple people having this issue because they were trying to login with their email and passwords but I'm trying this with my bot token, and help would be much appreciated

 

Link to post
Share on other sites

1 minute ago, Cuboid88 said:

Improper token has been passed.

Pretty descriptive error message there.

 

Are you sure you're passing it a bit token and not your api token?

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×