Is there a way that I can 1. Create a variable that can be used by different async def command(ctx, *, arg commands? such as
import discord
import asyncio
from discord.ext import commands
@bot.command(pass_context=True)
async def on_ready():
print('Bot is online and ready.')
#creates the global variable called like "baseNumberID"
async def command(ctx, *, arg):
baseNumberID =+ 1
bot.run("TOKEN")
So what i want, is to have a variable created on launch that can then be changed/edited and/or added on to.