Skip to main content

FAQ bot

listList question for user to select in discord, and answer base on question user select

    Create a question object 
    class Question:
      def __init__(self, desc, ans):
        self.desc = name
        self.ans = ans
    Create a prefilled list of question
    list = [
    	Question("Q1", "A1"),
        Question("Q2", "A2")
    ]
    Write a function that will receive a command from user to list out a question Write a function that will receive a command from user to answer that question