Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

discord python bot input

        if "A!clear".lower() in str(message.content).lower():
            n=[int(i) for i in message.content.split() if i.isdigit()]
        #n is a list of numbers that you pass it to other attributes
        #in on_message or any other method you can split the code and make the bot read it,
        #I just wanted to give the insight to you
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #discord #python #bot #input
ADD COMMENT
Topic
Name
9+9 =