Build Personalized Discord Bots with WayScript

Build Personalized Discord Bots with WayScript

https://wayscript.com/ In this one we’ll look at how we can build custom commands onto a WayScript discord bot using python programming, discord, and WayScript.com Sign up for WayScript today! Code used in this video:keywords = inputs[‘keywords’]result = inputs[‘result’]import re command = re.compile(r’![a-z]*’)matches = command.findall(󰀂v.0-Discord Message Text󰀂)print(matches[0])found_keyword = matches[0]print(keywords)position = keywords.index(found_keyword)action Read more…