Ejemplo n.º 1
0
        public async Task SetRestrict(string result, ulong id)
        {
            switch (result)
            {
            case "user":
                await _service.RestrictUser(id);

                break;

            case "guild":
                await _service.RestrictGuild(id);

                break;

            default:
                await Context.Channel.SendMessageAsync("``Use guild or user as param``");

                break;
            }
        }