From 26c5a0981715f8f83088d109102e45df3ce2032e Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Thu, 1 Apr 2021 18:21:20 +0200 Subject: [PATCH] Bump version to 0.8.0 --- lib/o2m.ex | 7 ++++--- mix.exs | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/o2m.ex b/lib/o2m.ex index 8b7138f..1769fca 100644 --- a/lib/o2m.ex +++ b/lib/o2m.ex @@ -18,9 +18,10 @@ defmodule O2M do @doc """ Handle events from Discord """ - def handle_event({:MESSAGE_REACTION_ADD, reaction, _ws_state}) - when reaction.emoji.name == "📌" do - Reminder.remind(reaction) + def handle_event({:MESSAGE_REACTION_ADD, reaction, _ws_state}) do + if reaction.emoji.name == "📌" do + Reminder.remind(reaction) + end end def handle_event({:MESSAGE_CREATE, msg, _ws_state}) do diff --git a/mix.exs b/mix.exs index f8b029f..95ef7aa 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule O2M.MixProject do def project do [ app: :o2m, - version: "0.7.8", + version: "0.8.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(),