Exemplo n.º 1
0
        public async Task ReactionTriggerMethod(int id, bool method)
        {
            bool result = await _reactions.SetReactionActivationMethod(id, method);

            if (!result)
            {
                await Context.Channel.SendErrorAsync($"Reaction #{id} does not exist.");

                return;
            }
            await Context.Channel.SendSuccessAsync($"Set reaction #{id}'s 'Anywhere' trigger method to {method}");
        }