Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

speak by a discord bot in python

@client.event
async def on_ready():
    print("Ready when you are")
    while True:
        bop = input("")
        for server in client.servers:
            for channel in server.channels:
                if channel.name == "general":
                    await client.send_message(channel, bop)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #speak #discord #bot #python
ADD COMMENT
Topic
Name
1+4 =