@bot.command()
async def blackjack(ctx):
cards = "♣️3"
@bot.event
async def on_message(msg):
globals cards
print(cards)
I'm making a blackjack command in discord.py but ran into a problem where the variable "cards" is not defined (because it isn't a local variable) I'm not sure how to fix this. I tried including "globals cards" but it still didn't work.