on-internet
← Community

TypeError: 'coroutine' object is not callable

Stack Overflow ·

Im trying to get my bot to create a server (guild) and im having the issue of it saying its not awaiting even though i made it await. ive tried awaiting it import discord, random, string, asyncio from discord.ext import commands def randomString(stringLength=10): letters = string.ascii_lowercase return ''.join(random.choice(letters) for i in range(stringLength)) Token = "" client = discord.Client() print("-----------------------------------") print("| Choices |") print("| (1) Token Banner |") print("-----------------------------------") Choice = input("Which choice would you like to choose?: "

Comments

Sign in or sign up to comment and upvote.

No comments yet.