edit message doesnt work discordpy (nextcord)

Solution 1:

  1. you should not use this weird "if != else" structure. Use elif or Structural Pattern Matching.

  2. funHelp is not a global variable therefore .edit is called to a NoneType

  3. to accomplish what you are trying try .history or buttons