Ask coding questions

← Back to all posts
Commands Do Not Work For The Discord Bot(Python)
FounderRoomyfoo

Only One Command Works And Its !help And I Cant Find Out How To Make !beg and !balance Work.

!beg Gets You Money 1-101

!balance Checks Your Balance

The Token Was Removed BTW!!!(For Those Who Do Not Read Other Comments)

Help Would Be Very Good.

Voters
FounderRoomyfoo
Comments
hotnewtop
InvisibleOne

you don't have any code to run your repl. You should but client.run(discord_token) at the bottom of your code.

FounderRoomyfoo

@InvisibleOne I said i removed that

FounderRoomyfoo

@FounderRoomyfoo Should never show others you bot token

FounderRoomyfoo

@InvisibleOne Plus thats not the problem i said so you did not help me

InvisibleOne

Another problem is that you aren't returning any data. You are calling your functions get_bank_data() and stuff, but then not keeping the data that they return in anything, so basically those functions are doing nothing.

FounderRoomyfoo

@InvisibleOne That was described as the file was attached to it witch meant it created a new account if the other file called mainbank.json

FounderRoomyfoo

The Token Has Been Removed BTW