message content is specified with a template where {{user}} is filled in with the user tag
examples:
{{user}} has left the party -> @SomeUser#0001 has left the partylooks like {{user}} is ready to party -> looks like @SomeUser#0001 is ready to party
if no template is specified a default is to be used:
join: {{user}} has joined the server
leave: {{user}} has left the server
ban: {{user}} was banned by {{banner}}
Post message to a specified channel when:
Templating
message content is specified with a template where
{{user}}
is filled in with the user tag examples:{{user}} has left the party
->@SomeUser#0001 has left the party
looks like {{user}} is ready to party
->looks like @SomeUser#0001 is ready to party
if no template is specified a default is to be used: join:
{{user}} has joined the server
leave:{{user}} has left the server
ban:{{user}} was banned by {{banner}}
Coding
Alchemy events needed
https://hexdocs.pm/discord_alchemy/0.6.9/Alchemy.Events.html#content
events should be added like the following https://github.com/boomba-bot/boomba/blob/00bb2da942a56a08e2db70f1f0c7ced448e53571/lib/events.ex#L1-L16