message
is a parameter to the
on_message
function. It it not available outside of that function.
UserInput
is a local variable within the
on_message
function. It cannot be used outside of that function.
HelpEmbed
is a local variable within the
displayembed
function. It cannot be used outside of that function.
NB: Whitespace is important. The
if
block after assigning
HelpEmbed
is not indented, so it is not part of that function.
2.1.7 Indentation[
^]