I have a project idea that would utilize a virtual credit card. The idea is that I would have a centralized fund (bank account) that can be linked up to "disposable credit card numbers". For example if someone was authorized to make a purchase for $10, an api call would be made to generate a temporary credit card number that has a maximum limit of their purchase amount ($10). Once the purchase of $10 is made the card number should be no longer valid. And this would happen on a rinse and repeat basis where on call temp card details are generated for a user and then disposed of when the purchase is made. However, I have not a clue where to start. Does anyone know of such services that offer VCC?
Via Active questions tagged javascript - Stack Overflow https://ift.tt/BpEImlW
Whenever you look at YouTube tutorials or code from this website there is a real variation. Some developers use client = discord.Client(intents=intents) while the others use bot = commands.Bot(command_prefix="something", intents=intents) . Now I know slightly about the difference but I get errors from different places from my code when I use either of them and its confusing. Especially since there has a few changes over the years in discord.py it is hard to find the real difference. I tried sticking to discord.Client then I found that there are more features in commands.Bot . Then I found errors when using commands.Bot . An example of this is: When I try to use commands.Bot client = commands.Bot(command_prefix=">",intents=intents) async def load(): for filename in os.listdir("./Cogs"): if filename.endswith(".py"): client.load_extension(f"Cogs.{filename[:-3]}") The above doesnt giveany response from my Cogs ...
Comments
Post a Comment